Answers for "change user mysql"

SQL
10

mysql deltete user

DROP USER 'jeffrey'@'localhost';
Posted by: Guest on April-18-2020
5

create user mysql

CREATE USER 'newuser'@'localhost' IDENTIFIED BY 'password';
Posted by: Guest on April-19-2020
0

how to switch user in mysql

Mysql user switch
Posted by: Guest on May-10-2021
-1

change user mysql

[madegow@fedora20 ~]$ mysql -u root -p
Enter password: 
...
MariaDB [(none)]> select user()
-> ;
+----------------+
| user()         |
+----------------+
| root@localhost |
+----------------+
1 row in set (0.00 sec)

MariaDB [(none)]> system mysql -u madegow -p
Enter password: 
...
MariaDB [(none)]> select user();
+-------------------+
| user()            |
+-------------------+
| madegow@localhost|
Posted by: Guest on January-23-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language