Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Linux, Apache, MySQL > MySQL Help

MySQL Help Post any question relating to MySQL here and hopefully someone can help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2004-05-30, 04:20 PM
Junior Member
 
Join Date: May 2004
Posts: 1
2marshall8
Default

Hello all,

I am currently running mysql on a SuSE 9.0 machine. here is the mysql version

Server version 4.0.15
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 23 min 0 sec

The problem I'm having is that whenever I start the service "rcmysql start" or directly from "/etc/init.d/mysql" it fails to start. the weird thing is that I can access the databases and login to mysql. Any idea on what I can try to correct this problem and get the daemon to run properly?

I've also done this:

" mysqladmin -u root -p ping "

and it's returned "mysqld is alive"

When I run the command " ps -e " I get three instances of mysqld and one of mysqld_safe. This safe instance worries me a little.


thanks
marshall
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 2004-05-30, 08:48 PM
Xnuiem's Avatar
Senior Member
 
Join Date: May 2004
Location: DFW, Texas
Posts: 1,104
Xnuiem will become famous soon enough
Send a message via Yahoo to Xnuiem
Default

Dont worry about the "safe". Most instances of MySQL running as servers use "safe" instead of MAX or DEV.

What it sounds like is happening, is that MySQL is already running, which would keep it from being started again.

If you can access the database, it is running, so I really dont think I would be concerned with this.
__________________
I rarely give code examples.
No, I have never used IIS or Windows of any kind as a web server. Get a real OS!
Please don't PM me, I won't respond.
Reply With Quote
  #3 (permalink)  
Old 2004-05-30, 10:43 PM
Moderator
 
Join Date: May 2004
Location: Portugal
Posts: 143
gesf is an unknown quantity at this point
Send a message via ICQ to gesf Send a message via MSN to gesf Send a message via Skype™ to gesf
Default

What i´ve read is that, there´s a bug in the current mysql init file: /etc/init.d/mysqld, witch causes it to appear to fail on startup when it actually did start up!

I´m not the right person to help you out in this problem, anyway, please read this next two articles.
If you make a search by your post title (E.g.: in google) , you´ll find some useful stuff.

Problems starting the MySQL server
Bug in /etc/init.d/mysqld

Cheers,
gesf
__________________
Best Regards,
Gonçalo "GesF" Fontoura

Website : gesf.org
Reply With Quote
  #4 (permalink)  
Old 2004-10-09, 03:51 AM
anonymous
Guest
 
Posts: n/a
Default

Thanks! You solved my problem as I was trying to get things togeter tonight. Just a permissions error, but your tip told me where to look. Hoorah! It runs!

-ermine
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.5 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.5 (a popular PHP IDE) and NuCoder 2.0 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:13 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.