Answers for "mysql setup password"

SQL
5

set password mysql

-- In case the UPDATE command returns "Column 'Password' is not updatable" run
ALTER USER 'root'@'localhost' IDENTIFIED BY 'newPassword';
flush privileges;
Posted by: Guest on June-12-2020
1

mysql config user password

-- Open the bash shell and connect to the server as root user:
mysql -u root -h localhost -p
-- Run ALERT mysql command:
ALTER USER 'userName'@'localhost' IDENTIFIED BY 'New-Password-Here';
FLUSH PRIVILEGES;
Posted by: Guest on December-27-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language