I setup openSUSE 13.1 and wanted to install mysql as I need it for my development. Then I saw that mardiadb is in use and realizing that some application applications like amarok use it I decided to give it a try (it's supposed to be binary compatible right?).
I would like to know how to start, stop and manage the server in general. I see only these commands:
mysql mysqlbug mysqld_safe mysql_fix_extensions mysql_secure_installation
mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow
mysqlbinlog mysqld_multi mysqldumpslow mysql_install_db mysql_upgrade
But I cannot find mysqld or mysql.server among mysql commands.
When I tried mysqld start It failed and this is what the err log contains:
140713 14:24:21 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140713 14:24:22 InnoDB: The InnoDB memory heap is disabled
140713 14:24:22 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140713 14:24:22 InnoDB: Compressed tables use zlib 1.2.8
140713 14:24:22 InnoDB: Using Linux native AIO
140713 14:24:22 InnoDB: Initializing buffer pool, size = 128.0M
140713 14:24:22 InnoDB: Completed initialization of buffer pool
140713 14:24:22 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
140713 14:24:22 mysqld_safe mysqld from pid file /var/lib/mysql/mothership.pid ended
How do I setup mariadb?
I would like to know how to start, stop and manage the server in general. I see only these commands:
mysql mysqlbug mysqld_safe mysql_fix_extensions mysql_secure_installation
mysqladmin mysqlcheck mysqldump mysqlimport mysqlshow
mysqlbinlog mysqld_multi mysqldumpslow mysql_install_db mysql_upgrade
But I cannot find mysqld or mysql.server among mysql commands.
When I tried mysqld start It failed and this is what the err log contains:
140713 14:24:21 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
140713 14:24:22 InnoDB: The InnoDB memory heap is disabled
140713 14:24:22 InnoDB: Mutexes and rw_locks use GCC atomic builtins
140713 14:24:22 InnoDB: Compressed tables use zlib 1.2.8
140713 14:24:22 InnoDB: Using Linux native AIO
140713 14:24:22 InnoDB: Initializing buffer pool, size = 128.0M
140713 14:24:22 InnoDB: Completed initialization of buffer pool
140713 14:24:22 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
140713 14:24:22 mysqld_safe mysqld from pid file /var/lib/mysql/mothership.pid ended
How do I setup mariadb?