dang quang hai
dang quang hai

Reputation: 21

No see new data right after insert to MariaDB(MYSQL) on Linux server only

I have page to insert/update invoice writing by LARAVEL & MariaDB

Right after insert an item to invoice I call Load Invoice Detail function. The debug show that the dataset return does not contain the new item I've just inserted.

But I copy the select query to select all items from this invoice in Load Invoice Detail function and paste it to PHPMYADMIN and run. I can see new item I 've just inserted.

This case does not happen when I run web app and database serve on my computer, It just happened when I push Web App and Database on Linux serve.

Is there any config task on database on Linux to fix this problem? Help me please. Thank you very much indeed

Upvotes: 0

Views: 150

Answers (1)

Ezani
Ezani

Reputation: 555

Refresh the page to ensure the data is reloaded.

Upvotes: 1

Related Questions