The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
MySQL article - Sun and MySQL: How It Stacks Up for Developers iBot UNIX and Linux RSS News 0 02-28-2008 08:20 PM
MySQL conflicts with mysql-3.23.58-16.RHEL3.1 johnveslin Linux 2 07-17-2007 03:49 AM
Mysql problem 12yearold Shell Programming and Scripting 1 07-12-2006 02:05 AM
mysql would not start: missing mysql.sock xnightcrawl UNIX for Advanced & Expert Users 2 05-26-2006 07:06 AM
Problem with PHP and MySQL Danny_10 Shell Programming and Scripting 11 04-29-2004 07:55 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #8  
Old 10-08-2002
Registered User
 

Join Date: Oct 2002
Posts: 5
It really depend on where you configure your Mysql to have that mysql.sock at. Most of the time it would be in /var/lib/mysql/mysql.sock but in some case it is in /tmp/mysql.sock. To make it easy, just make a link from /var/lib/mysql/mysql.sock to /tmp/mysql.sock. This would work.
Forum Sponsor
  #9  
Old 11-03-2002
Registered User
 

Join Date: Sep 2001
Posts: 7
Thanks Photon...

<quote>Try something like:

shell> bin/safe_mysqld -u user_name &

Where user_name is your MySql login name.

To see if mysqld is running type:

Shell> bin/mysqladmin version

You should see something like:

Running threads: 1</quote>


I was having trouble getting the mysql server started and this tip did the trick but i have a question... I have the start mysql option set to yes in rc.config i believe it is, but it doesnt seem to want to stay on... i tried rcmysql start, it would say ;

starting service MySQL
starting mysql-daemon with database from /var/lib/mysql
021103 09:46:32 mysqld ended

anyway, it would statr and stop really fast. i entered bin/safe_mysqld -u user_name & in the console and it started then left the cursor droped down on the next line with no console prompt so i opened another console window typed rcmysql status and it says running, so cool!

What i would like to know is how to make it do that from start up with out having to type bin/safe_mysqld -u user_name & all the time. also is that the proper way to start mysql server or is it just a way to ensure everything should be working fine. If there is a proper way i wouls sur elike to know. Thanks alot!


Cerberus
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0