2014-05-23 09:29:50 +02:00
|
|
|
You just installed MySQL server for the first time.
|
|
|
|
|
|
|
|
You can start it using:
|
|
|
|
rcmysql start
|
|
|
|
|
|
|
|
During first start empty database will be created for your automatically.
|
|
|
|
|
|
|
|
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
|
|
|
|
To do so, start the server, then issue the following commands:
|
|
|
|
|
|
|
|
'/usr/bin/mysqladmin' -u root password 'new-password'
|
2015-06-25 15:57:47 +02:00
|
|
|
'/usr/bin/mysqladmin' -u root -h <hostname> password 'new-password'
|
2014-05-23 09:29:50 +02:00
|
|
|
|
|
|
|
Alternatively you can run:
|
|
|
|
'/usr/bin/mysql_secure_installation'
|
|
|
|
|
|
|
|
which will also give you the option of removing the test
|
2014-12-06 14:56:41 +01:00
|
|
|
databases and anonymous user created by default. This is
|
2014-05-23 09:29:50 +02:00
|
|
|
strongly recommended for production servers.
|
|
|
|
|