Comments - Installing MariaDB with yum/dnf

10 years, 1 month ago Ping Pong

I installed MariaDB 10 on CentOS 6.5 64 bit.

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.0/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

It successfully installed. But the installation process didn't let me configure user name, password, database instance name, and port.

What should I do that after installation? How to check that on CentOS?

Thanks in advance.

 
8 years, 11 months ago Daniel Bartholomew

On yum-based distributions, the only MariaDB user set up is root, and there is no password. You can use the mysql_secure_installation script to set the root password.

For compatibility, the service name and port are by default the same as MySQL: mysql and 3306. Binaries are also named the same: mysqld for the server and mysql for the client.

After installation you can start MariaDB with sudo /etc/init.d/mysql start or sudo service mysql start

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.