Category Archives: Plesk panel

Reset mysql root password

mysqladmin command to change root password In the event that you have never set a root watchword for MySQL, the server does not require a secret key at all to connect as root. To setup pull watchword for the first time, utilize mysqladmin charge at shell fast as takes after: $ mysqladmin -u root password… Read More »

Create a database user through the MySQL CLI

Through the mysql command line, this is accomplished by running the following commands. In SSH, type “mysql” to access the mysql command line. Then type: GRANT ALL PRIVILEGES ON test_database.* TO username@domain IDENTIFIED BY ‘password’; Where: test_database is the database you created above. username is the MySQL login to create domain is the domain you’ll… Read More »