I believe there is an error with my MySQL install -- which was auto installed while installing Ubuntu 15.5/LAMP. I would like to only uninstall MySQL and try again, however the usual
"sudo apt-get remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean"
does not remove it and shows instead an option to remove the entire lamp image. How can I remove/reinstall MySQL only?
Related
I installed mysql-server on Debian. And also installed lampp on Debian. But in order to run lampp and properly working of phpmyadmin I have to stop my mysql-server running on Debian. This creates two different mysql servers. One belonging to phpmyadmin and one belonging to mysql running locally. Is there any way, so that both phpmyadmin and mysql-server run on same port?
You cant run both mysql servers on same port. The best way is to remove Both MySql and Lamp stack then reinstalling it again.
1.)remove mysql and lamp stack:-
sudo apt-get remove --purge mysql-server.* apache2* php* phpmyadmin*
sudo apt-get auto-remove
2.)install lamp stack
sudo apt-get update
sudo apt-get install
sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install php5 php-pear php5-mysql
sudo service apache2 restart
sudo apt-get install phpmyadmin
then you are ready to code!
I've been searching around and haven't been able to find out how to downgrade my MySQL version. I've tried brew info MySQL then brew switch MySQL 5.7.21 but it says it's not in the cellar.
I followed a guide running brew install mysql#5.7 but when I check the -v it says its an unknown command.
let me know if I missed any details. this is my first time reaching out.
Using APT Repositories
Step 1: Reconfigure MySQL and choose the older version:
sudo dpkg-reconfigure mysql-apt-config
Step 2: Run apt-get update:
sudo apt-get update
Step 3: Remove the current version:
sudo apt-get remove mysql-community-server mysql-client mysql-common mysql-community-client mysql-community-client-core mysql-community-server mysql-community-server-core -y
sudo apt-get autoremove
Step 4: Install the older version (autoselected since you have reconfigured):
sudo apt-get install -y mysql-server
I am trying to install PHPMyAdmin on my Ubuntu 16 setup.
I am using this document to do so:
https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04
But I am getting following error while installation:
I even try to uninstall mysql completely for which I used following steps, but it did not work.
Removing MySQL 5.5 Completely
First of all You have to remove whole phpmyadmin from your system using
sudo apt-get remove phpmyadmin mysql-server mysql-client
sudo apt-get purge phpmyadmin mysql-server
sudo apt-get autoremove
sudo apt-get update
sudo apt-get install phpmyadmin
sudo apt-get install mysql-client mysql-server
I can't install mysql server 5.5 on Debian system.
Getting this error. I tried 5 times but same problem :(
I'm also in superuser
apt-get install mysql-server-5.5
apt-get install mysql-server mysql-client
and got the error after password setup wizard for root user.
Please help
apt-get purge mysql*
apt-get autoremove
apt-get autoclean
apt-get update
apt-get dist-upgrade
apt-get install mysql-server mysql-client
If this is not be helpful, you can try install mysql from MySQL Repository, but you must remember - in this moment server have stable version: 5.7.x!
I have a Mysql installation I'd like to remove and reinstall, running Ubuntu 14.04 on a LAMP stack. The passwords are all messed up, phpmyadmin isn't installing correctly... I just want a restart.
the command..
sudo apt-get --purge remove mysql-server mysql-common mysql-client
is returning the following error...
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
I'm having a real hard time trying to figure out what to do with this.
this command...
sudo dpkg-reconfigure mysql-server-14.14
tells me...
package 'mysql-server-14.14' is not installed and no information is available
While..
mysql --version
tells me...
mysql Ver 14.14 Distrib 5.5.40, for debian-linux-gnu (x86_64) using readline 6.3
Any ideas how i can wipe this clean and restart?
thank you.
First, remove already installed mysql-server using-- sudo apt-get remove --purge mysql-server mysql-client mysql-common
Then clean all files sudo apt-get autoremove
Then install mysql-server -- sudo apt-get install -f mysql-server
Start mysql server-- sudo systemctl start mysql
Check status of mysql-server-- systemctl status mysql
Maybe strip the --?
sudo apt-get purge mysql-server mysql-common mysql-client
sudo apt-get install mysql-client mysql-server mysql-common
try to do this:
sudo apt-get install aptitude
sudo aptitude purge mysql-server mysql-common mysql-client
sudo aptitude install mysql-client mysql-server mysql-common