Page 1 of 1

[SOLVED] MariaDB configuration Mageia2

PostPosted: May 23rd, '12, 13:06
by dmbentley
I really want Mageia to work but the problem I have at the minute is that I cannot get MariaDB to work. I have installed the packages plus mysql workbench and PHPmyadmin and both say they cannot log into the mysql server.

What am I missing? (Probably something simple)

Re: MariaDB configuration Mageia2

PostPosted: May 23rd, '12, 13:26
by djennings
Well the simplest solution is to check if the mysqld service is running.
Look in Mageia Control Centre>System>Services

You will also need to set a root password for mariadb
Code: Select all
mysqladmin password

Re: MariaDB configuration Mageia2

PostPosted: May 23rd, '12, 17:00
by dmbentley
Sorry my mistake. I had already checked the service was running, and it is.

Thanks for the quick reply, I will try and set the password later.

Re: MariaDB configuration Mageia2

PostPosted: May 24th, '12, 19:28
by djennings
Also check out the ownership of the files in /var/lib/mysql
When I upgraded my server to Mageia 2 it used different uid:gid numbers so mariadb would not start.

Re: MariaDB configuration Mageia2

PostPosted: May 26th, '12, 15:20
by doktor5000
If that's the solution, please afterwards:
Image

;)

[SOLVED] MariaDB configuration Mageia2

PostPosted: May 28th, '12, 11:00
by dmbentley
It was the password, thanks. Although PHPmyadmin now works MYSQLworkbench still will not connect to the localhost, I think I remember seeing a bug report saying this so I will leave it for now.

Thanks again for the fast reply.