On Thu, 20 Nov 2003 12:47:50 +0000, clara wrote:
For what its worth, I have exactly the same problem on redhat9
I put a message out and was told by someone who's got it working
to get the manual and work through the setup.
I got the manual in pdf format from www.mysql.com, am in the process
of configuring it now.
Alex
p.s. dont send any riply to the e-mail address as it has 50megs
of ms viruses which need removing before I can start using it again.
Alex
blizeach wrote:
noob here
I just got slack9.0 running about a week ago.
My proble is that I cant connect to mysql
This is the error it gives me.
---------------------------------------------------------------
ERROR 2002: Can't connect to local MySQL server through socket
'/var/run/mysql/mysql.sock' (2)
---------------------------------------------------------------
I'm pretty new still to linux and thouroghly confused.
I dont know where to get this file.
And I cant find my mysql error log file.. sniffle sniffle
some one please help.
David
Hey man hope I'm not to late.
What I figured out is that you have to change users to the mysql user
by the su command.
su mysql
Then run the build db script
mysql_install_d b
You should be able to just run this from the console np without changing
directories. If not just do a find on it.
After that type exit to go back to being the root user and
I think in redhat the path is the same go to /etc/rc.d and there should
be a file in there called rc.mysqld or rc.mysqld.new or mysqld.server.
Either way if not there find for them again.
When found chmod the file with chmod 755.
This makes it executable.
After that you can run the file like this from the console
../rc.mysqld
or ./filename what ever it may be.
whats cool is if redhat is like slack that file will be in the etc/rc.d
dir and when you chmod it it will start at boot time.
Hope this helped man. Whats funny is I thought I was missing that file
mysql.sock but what I found out was the server deamon creats the file on
the fly at startup.
Hope I helped... let me know what you did if you dont mind.
Take care and Happy Thanksgiving everyone.
David Dalrymple