[SOLVED] MariaDB configuration Mageia2

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] MariaDB configuration Mageia2

Postby dmbentley » May 23rd, '12, 13:06

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)
Last edited by dmbentley on May 28th, '12, 11:01, edited 1 time in total.
dmbentley
 
Posts: 3
Joined: May 23rd, '12, 13:02

Re: MariaDB configuration Mageia2

Postby djennings » May 23rd, '12, 13:26

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
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: MariaDB configuration Mageia2

Postby dmbentley » May 23rd, '12, 17:00

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.
dmbentley
 
Posts: 3
Joined: May 23rd, '12, 13:02

Re: MariaDB configuration Mageia2

Postby djennings » May 24th, '12, 19:28

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.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: MariaDB configuration Mageia2

Postby doktor5000 » May 26th, '12, 15:20

If that's the solution, please afterwards:
Image

;)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18016
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

[SOLVED] MariaDB configuration Mageia2

Postby dmbentley » May 28th, '12, 11:00

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.
dmbentley
 
Posts: 3
Joined: May 23rd, '12, 13:02


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest