LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2005, 10:55 PM   #1
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
Question probs in starting mysql


i tried to start mysql server using the foll...

# cd /etc
# cp my-medium.cnf my.cnf
# cp /usr/share/mysql/mysql.server /etc/rc.d/rc.mysql
# su - mysql

$ /usr/bin/mysql_install_db
$ ls -al /var/lib/mysql/
$ /usr/bin/mysqladmin -u root -p password 'new-password'
Enter password:
when i do this i get a warning
ignoring worl writable my.cnf file

finally i do this

# /etc/rc.d/rc.mysql start

i get an error that check /var/run/mysql/mysql.sock exists

what is going wrong?
 
Old 07-17-2005, 02:57 AM   #2
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
remove the world write permission on my.cnf, otherwise, as the message states, MySQL will ignore it.
 
Old 07-17-2005, 12:07 PM   #3
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
how?
 
Old 07-17-2005, 05:38 PM   #4
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Read the chmod man page...

chmod o-w my.cnf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql probs berrance Linux - Software 1 04-18-2005 09:45 AM
probs with mysql ankscorek Linux - Software 2 04-11-2005 12:50 PM
Kahakai starting probs. OakStream Linux - Software 0 10-23-2004 11:20 AM
Probs starting Apache 2.0... cockblocker Linux - Software 5 08-03-2003 10:19 PM
mysql install probs on slackware joel112 Linux - Software 4 05-31-2003 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration