Jump to content
Forgot your email address? ×
×
×
  • Create New...
  • 0

[Help]-Uninstall mysql


Slabon

Question

  • Answers 11
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

11 answers to this question

Recommended Posts

  • 0
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'
Link to comment
  • 0

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

Link to comment
  • 0

 

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. 

Link to comment
  • 0

mysql_enable="YES" in rc.conf is for defining startup daemons. This won't solve errors with mysql.

 

That means..

 

adding mysql_enable="YES" to rc.conf and rebooting is the equivalent to:

service mysql-server start
Link to comment
  • 0
  • 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
  • 0

 

/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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


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.