assikk ajah assikk ajah - 3 months ago 27
MySQL Question

Updating phpmyadmin (Ubuntu).[How?]

I'm new in programming and I have an old phpmyadmin (contains my training and jobs data). I want update it to updated version and I want my data safe while updating it. Is there any way to do it by running any commands on terminal? Is my data erased if I unistalled phpmyadmin?

thanks in advance

Answer

phpmyadmin is mysql client, so it will not affect your database if you uninstall phpmyadmin. I update phpmyadmin by using terminal commands:
First you have to add repository to get phpmyadmin :

sudo add-apt-repository ppa:nijel/phpmyadmin;

and then update it to get the latest version of software in repositories :

sudo apt-get update;

after that, you can get it (install, you need to uninstall the older version first if you have) :

sudo apt-get install phpmyadmin;

Oh, make sure you are connected to the internet
Using ubuntu? i think it will be better if you ask it in ubuntu forum.
may it helps