Jump to content

[Help]-Uninstall mysql


Recommended Posts

  • Replies 11
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

cd /usr/ports/databases/mysql56-server
make deinstall clean
rm -R /var/db/mysql
make BUILD_OPTIMIZED=yes BUILD_STATIC=yes
make WITH_XCHARSET=all install clean
service mysql-server start
/usr/local/bin/mysqladmin -uroot password 'enterpassword'

 

Error:

q7C3UHj.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

 

cd /usr/ports/databases/mysql56-server
make deinstall clean
rm -R /var/db/mysql
make BUILD_OPTIMIZED=yes BUILD_STATIC=yes
make WITH_XCHARSET=all install clean
service mysql-server start
/usr/local/bin/mysqladmin -uroot password 'enterpassword'

 

Error:

q7C3UHj.png

 

ee /etc/rc.conf

Add this:

mysql_enable="YES"

Then reset the server. 

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Honorable Member

/usr/local/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
Thanks, I did everything you told me with the intention to help, but in the end I reinstalled everything from the OS.

How to reinstall an OS for just a triviality.
Link to comment
Share on other sites

 

/usr/local/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

Thanks, I did everything you told me with the intention to help, but in the end I reinstalled everything from the OS.

 

How to reinstall an OS for just a triviality.

 

despite reinstalling the error continues

Link to comment
Share on other sites

  • 3 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.