error start job failed to start [closed]

asked 2016-08-11 04:46:39 -0500

Eng Sarro gravatar image

Dear All,

Kindly I need your support as while I'm setting up Mikata Openstack and in the step of SQL database I got the below error when I enter ( # service mysql restart ) command.

the error is : ( start job failed to start )

be noted that I installed with the command ( # apt-get install mariadb-server python-pymysql )

Also I need to know something , As per the guide I must create new file /etc/mysql/conf.d/openstack.cnf and add some configuration like bind-address = while in the file /etc/mysql/my.cnf there is bind-address = ,, I'm asking if this is right or I must change it also as it's not included in the guide . Also if I must copy all configuration from my.cnf file to the new file that I created.

Thanks in advances and waiting your reply, Sarah

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Eng Sarro
close date 2016-08-13 17:06:31.725347



Conf variables in /etc/mysql/my.cnf are updated with con variables in /etc/mysql/conf.d/ conf files In order to solve your issue try uninstalling and reinstalling it:

apt-get purge mariadb-server python-pymysql
rm /etc/mysql/ -R
apt-get install mariadb-server python-pymysql
Antonio G. gravatar imageAntonio G. ( 2016-08-11 07:45:46 -0500 )edit

Thanks Antonio, I solved it

Eng Sarro gravatar imageEng Sarro ( 2016-08-13 17:04:31 -0500 )edit