If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySQL fails to start after Ubuntu upgrade

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-04-11, 22:17
anjanesh anjanesh is offline
Registered User
 
Join Date: Feb 2005
Location: Mumbai, India
Posts: 161
MySQL fails to start after Ubuntu upgrade

After an upgrade from Ubuntu 11.04 to 11.10, mysql stopped running. I tried starting it manually and it failed. What could be wrong ? Logs seem to be empty.

Code:
~$ sudo /etc/init.d/mysql start
[sudo] password for anjanesh: 
 * Starting MySQL database server mysqld                                 [fail] 
~$ cat /var/log/mysql
mysql/          mysql.log.1.gz  mysql.log.4.gz  mysql.log.7.gz
mysql.err       mysql.log.2.gz  mysql.log.5.gz  
mysql.log       mysql.log.3.gz  mysql.log.6.gz  
~$ cat /var/log/mysql.err 
~$ cat /var/log/mysql.log
__________________
MySQL 5.1
Reply With Quote
  #2 (permalink)  
Old 11-04-11, 23:49
anjanesh anjanesh is offline
Registered User
 
Join Date: Feb 2005
Location: Mumbai, India
Posts: 161
I don't know what happened during the upgrade but it looked like it changed the mysql settings. sudo apt-get install mysql-server seemed to have solved the problem. How did mysql get removed in the first place, I dont know.
Reply With Quote
Reply

Tags
ubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On