problem while starting mariadb server?
i just installed the fedora 19 Operating system. and then i installed the following packages using yum for mariadb server
- mariadb-embedded-5.5.31-4.fc19.x86_64
- mariadb-embedded-5.5.30-1.fc19.x86_64
- mariadb-devel-5.5.31-1.fc19.x86_64
- mariadb-5.5.31-1.fc19.x86_64
- mariadb-libs-5.5.31-1.fc19.x86_64
- mariadb-server-5.5.31-1.fc19.x86_64
after installing these packages when i try to start the server using "mysqld" command then it does not found the command and when i try to start using "mysqld_safe" then it stops after giving error massage.
[root@localhost rohit]# mysqld bash: mysqld: command not found [root@localhost rohit]# mysqld_safe 130627 15:13:36 mysqld_safe Logging to '/var/log/mysqld.log'. 130627 15:13:36 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 130627 15:13:38 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
please provide me the information how do i setup and start the server.
thanks.
Answer
As one can see from one of your comments below:
[root@localhost libexec]# ./mysqld 130628 15:42:37 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root! 130628 15:42:37 [ERROR] Aborting
you're trying to start the server as the root user. You either need to start it as a different user (for example, mysql user, that you have on your system exactly for this purpose) or you need to read "Security" section of the manual to find out how to run mysqld as root. Here's the link: http://dev.mysql.com/doc/mysql-security-excerpt/5.0/en/security-against-attack.html