Root user is disabled by default, so make a new mysql user and give all privileges to that user. An example: sudo mysql -p -u root mysql> CREATE USER 'username_here'@'%' IDENTIFIED BY 'password_here'; mysql> GRANT ALL PRIVILEGES ON *.* TO 'username_here'@'%' WITH GRANT OPTION; Replace username_here with real username and password_here with real mysql password.