Posts under SQL

phpmyadmin disable 1440 timeout with auto login

advertisement

I’m running phpmyadmin in my dev server and i always encounter phpmyadmin timeout after 1440 seconds.

To disable the phpmyadmin timeout after 1440 seconds, follow the steps below:-

Continue reading phpmyadmin disable 1440 timeout with auto login »

How to do string replace (str_replace) in MySQL

advertisement

mysqlMySQL has a built in function to perform string replace (just like PHP str_replace) thru the query. I just perform a MySQL string replace at a website migration and everything work like a charm. This MySQL string replace function really save me a lot of time! Imagine if i’m going to edit the record one by one, and there is 100 record, i think i’m going to be crazy after the manual edition.

To perform string replace (str_replace) in MySQL, you can use the query below:-

Continue reading How to do string replace (str_replace) in MySQL »

How to monitor sql query in mysql?

advertisement

mysql logoMonitor what sql query is running in mysql is very import for performance analysis. By monitor sql query, you are be able to know what is running at the backend. if your framework logs all sql queries then you can monitor from there, if not, you might need to turn on mysql log to monitor all the sql query being executed.

To monitor sql query in MySQL, simply follow the steps below:-

Continue reading How to monitor sql query in mysql? »