Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Unable to start MySQL by using Upstart on Lucid

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 31-03-2012
Member
 
Join Date: Jan 2012
Posts: 56
Unable to start MySQL by using Upstart on Lucid
  

I don’t know why MySql is not running after booting of Lucid. However can manually start by using below mentioned command
Code:
sudo -u mysql mysqld
however when I am trying to use Upstart I got below mentioned error message.
Quote:
dom@mythbox:~$ start mysql
start: Rejected send message, 1 matched rules; type="method_call", sender=":1.51" (uid=1000 pid=3891 comm="start) interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init"))
Let me know if you are having any idea to resolve the matter will be appreciated. Thanks a lot in advance.

Reply With Quote
  #2  
Old 31-03-2012
Member
 
Join Date: Jul 2011
Posts: 346
Re: Unable to start MySQL by using Upstart on Lucid

I think you need to start MySQL by using below mentioned commands.
Code:
sudo service mysql restart
or
Code:
sudo service mysql start
Reply With Quote
  #3  
Old 31-03-2012
Member
 
Join Date: Jul 2011
Posts: 317
Re: Unable to start MySQL by using Upstart on Lucid

after going through mysqld upstart job at /etc/init/mysqld.conf and you will be see ‘start on (net-device-up’. Mysql is configure to bind with a specific address and it fails to begin if network interface does not seems to be up. I recommend that you should update mysqld upstart job to ‘start on (net-device-up IFACE=ethX’ to start mysqld only when correct interface is up.
Reply With Quote
  #4  
Old 03-04-2012
Member
 
Join Date: Aug 2011
Posts: 308
Re: Unable to start MySQL by using Upstart on Lucid

You should browse to /etc/init/mysql.conf.
Here you have to edit
Code:
# MySQL Service
Code:
description     "MySQL Server"
author          "Mario Limonciello <superm1@ubuntu.com>"

start on (net-device-up
          and local-filesystems
	  and runlevel [2345])
stop on runlevel [016]

respawn
make sure that there should be space after the term ‘runlevel’.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Unable to start MySQL by using Upstart on Lucid"
Thread Thread Starter Forum Replies Last Post
Unable to setup Power Mac G4 Cube running with Lucid Ra.One Portable Devices 6 24-01-2012 09:22 AM
unable to mount CDROM DVD drives after upgrading from Ubuntu 9.10 to 10.04 LTS Lucid Lynx. Biswanath1 Operating Systems 9 22-12-2011 07:26 AM
Unable to install MySQL and MySQL Workbench on Linux mint 10 Zared Windows Software 4 13-01-2011 12:08 AM
Unable to save Image from the web URL into mySQL Conraad Software Development 5 25-02-2010 03:35 PM
Mysql Error : Can't connect to local mysql server through socket ' var lib mysql mysql.sock' 2 roshan45 Software Development 3 07-11-2009 08:36 PM


All times are GMT +5.5. The time now is 10:21 AM.