kauyiming
By:
kauyiming

How to manage my database after separating it from my web application server?

December 5, 2014 1.3k views

I used to run a LAMP stack where my web and database all sat on one server. I recently migrated my database to another server using this tutorial.

I want to use something like phpmyadmin to manage this database but that seems to involve involving a full LAMP stack on the database server. Is this the right way to go about doing it and if not, what should I be doing?

1 Answer

You can still use your original phpmyadmin installation to manage your new db.

Just enable remote access of mysql db server and modify config.inc.php's host to the new server ip.

Since it is managing a remote db, performance may not be as good as a local db.

There are alternative tools for managing mysql, like MySQL Workbench, you can have a look.

  • Hi, thanks for the awesome advice, exactly what I needed! Took me a while to find the config.inc.php though (for some reason there were several copies of it in different places), and for the benefit of others, it turns out to be in /etc/phpmyadmin/config.inc.php

    Will check out the alternatives as well.

Have another answer? Share your knowledge.