adspace
write a query to mysql in safe mode and to change the root password
Answer Posted / Dileep Kumar Kamal
To start MySQL in safe mode, use the command: `mysql -u root --safe-mode`. To change the root password, use the following SQL command after logging in: `ALTER USER 'root'@'localhost' IDENTIFIED BY '[new_password]';`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers