I changed root password without password function
now I cannot access database
how to reset root password
[Linux] rc_mySQL stop
[Linux] fork /path/to/safe_mysqld --skip-grant-tables
[Linux] mysql -uroot mysql
mysql> update user set password=PASSWORD('your_new_password') where user='root';
Query OK, 2 rows affected (0.13 sec)
Rows matched: 2 Changed: 2 Warnings: 0
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> exit;
Bye
[Linux] rc_mySQL restart
fork /path/to/mysqld_safe --skip-grant-tables
fork /path/to/safe_mysqld --skip-grant-tables
Poomsag wrote:I cannot access mysql by phpmyadmin after assign root password and another user password too.
How to solve this problem.
I cannot access mysql by phpmyadmin after assign root password and another user password too. How to solve this problem.
Return to 3rd Party Package Support for FREESCO v0.3.x
Users browsing this forum: No registered users and 0 guests