SPUG: mysql

John Cokos jcokos at ccs.net
Sat Aug 26 11:44:12 CDT 2000


Check the userid that your startup script
tells the mysql daemon to start as.  I've
found that if it's not set to "root" then
it won't autostart on LInux machines.

John


> From: marlin <marlingreene at mindspring.com>
> Reply-To: marlingreene at mindspring.com
> Date: Fri, 25 Aug 2000 18:05:18 -0700
> To: spug-list at pm.org
> Subject: SPUG: mysql
> 
> OK... first thanks to those who help me a few days ago with the "mysql
> won't start" problem.
> 
> It still won't start--that is at machine reboot or startup.
> 
> It will start manually if I type in "safe_mysqld -u root"
> 
> Fact about this case:
> 
> 1. The mysql config file has the line "mysql_daemon_user=mysql"
> 2. Watching the lines at startup reveals that mysql daemon starts,
> then immediately stops.
> 3. This can be confirmed if (after logging on) I try to start the
> mysql daemon from the cmd line with "safe_mysqld start" -- I see
> "starting mysql" then immediately "stopping mysql" just like when
> the startup script is executing.
> 4. I can make it run from the cmd line with "safe_mysqld start -u root"
> 
> Can anyone explain why it won't start automatically, as directed by
> the startup config, before anyone is logged in?
> 
> I am concerned that something is configured incorrectly, but I don't
> know where else to look. I have tried changing the owner of mysql folder
> and data files to "mysql" and that doesn't seem to matter.
> 
> Thanks...
> 
> Marlin 
> 
> -- 
> 3 Hats Design
> INTERNET  PRINT  ILLUSTRATION
> 5201 15 Ave NW 
> Suite 220
> Seattle, WA 98107
> 206.784.1641 phone
> 206.784.2231 fax
> marlin at 3hats.com
> http://www.3hats.com
> 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
> Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
> Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
> For full traffic, use spug-list for LIST ; otherwise use spug-list-digest
> Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
> 
> 
> 


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For full traffic, use spug-list for LIST ; otherwise use spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list