Loading...
 

MySQL

Admin account

    • Admin account name is: root
      • By default, there is no password
      • $ mysql -h your_host -u root
        mysql> SET PASSWORD FOR root@localhost = PASSWORD('yourpassword');
        mysql> exit

Current user

  • SELECT user(), current_user();