LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-10-2003, 11:29 AM   #1
userini
LQ Newbie
 
Registered: Jul 2003
Location: Edmonton, AB, Canada
Distribution: Fedora Core 4
Posts: 16

Rep: Reputation: 0
MySQL Installation Problem


I have installed MySQL Standard 4.0.13-i686, set the proper permissions, and configured Slackware so that it starts mysql.server on boot. However, I get these problems:

Code:
$ cd /usr/local/mysql
$ ./bin/mysql
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
So I decide to try to manually start the server:

Code:
$ ./bin/mysqld_safe &
[1] 761
The file /usr/local/mysql/libexec/mysqld doesn't exist or is not executable
Please do a cd to the mysql installation directory and restart
this script from there as follows:
./bin/mysqld_safe.
[1]+  Exit 1                  mysqld_safe  (wd: /usr/local/mysql/bin)
I do what is recommended, but get the same error message. I've checked the directories, and neither 'libexec' nor 'mysql.sock' exist. Any help on this issue would be greatly appreciated.
 
Old 07-10-2003, 01:12 PM   #2
ftenario
Member
 
Registered: Jul 2003
Location: Camarillo, CA
Distribution: Debian
Posts: 48

Rep: Reputation: 15
mysql installation problem

Hello,

I occassionally get that error during installation from source. I usually do these: create "mysql" group and "mysql" user. Make sure the data directory where mysql is installed is owned by mysql group and mysql user. I dont know exactly if this is the 100% solution to your problem. But this works for me most of the time.
 
Old 07-12-2003, 01:13 PM   #3
userini
LQ Newbie
 
Registered: Jul 2003
Location: Edmonton, AB, Canada
Distribution: Fedora Core 4
Posts: 16

Original Poster
Rep: Reputation: 0
I have already done that, and I am also installing from binaries.
 
  


Reply



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 installation problem ddaas Linux - Software 1 03-22-2005 12:47 PM
Problem with my MySQL installation jabird Red Hat 12 03-07-2005 07:40 PM
Installation problem in MySQL mchithu Linux - Software 0 01-07-2005 08:25 AM
mysql installation problem. sixth_sense Linux - General 1 04-12-2004 07:57 AM
MySQL 4.0.12 installation problem. Swift&Smart Linux - Software 10 04-07-2003 10:54 AM

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

All times are GMT -5. The time now is 02:21 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