Member
Hey guys!
I tried to change my Mysql password, and this happens. (777 permissions have done)
I trying with this codes:
/usr/local/etc/rc.d/mysql-server stop
mysqld_safe --skip-grant-tables &
mysql -u root
use mysql
update user set password=PASSWORD('yourpassword') where user='root';
flush privileges;
quit
service mysql-server restart
When start running with "mysql -u root" the error will happens what is: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38)
Could you help me please? I'm a begginer but, I never met an error like this.
Thank you guys!
(Postscript: If you know what is the password for the database at the attachement I will thank you so much.)
If you don't see the attachment here is the (offical link):
I tried to change my Mysql password, and this happens. (777 permissions have done)
I trying with this codes:
/usr/local/etc/rc.d/mysql-server stop
mysqld_safe --skip-grant-tables &
mysql -u root
use mysql
update user set password=PASSWORD('yourpassword') where user='root';
flush privileges;
quit
service mysql-server restart
When start running with "mysql -u root" the error will happens what is: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (38)
Could you help me please? I'm a begginer but, I never met an error like this.
Thank you guys!
(Postscript: If you know what is the password for the database at the attachement I will thank you so much.)
If you don't see the attachment here is the (offical link):
To see the download links,
Log in or register now.