[root@timetrex ~]# mysql -u root mysql
mysql> GRANT ALL PRIVILEGES ON *.* TO 'timetrex'@'localhost' IDENTIFIED BY '<MY_PASS>' WITH GRANT OPTION;
mysql> create database timetrex;
mysql> quit;
Now to test that everything worked:
[root@timetrex ~]# mysql -u timetrex -p<MY_PASS> timetrex
It you get the "mysql>" prompt, it worked!
MySQL - Create user/database
MySQL - Create user/database
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Help motivate us to continue by showing your appreciation!