Results 1 to 5 of 5
im a new user of slackwarelinux installed 12 about a week ago
when i tried to accesss mysql it didnt work gave out an error couldnot not connect through socket ...
- 01-05-2008 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 16
problem with my sql
im a new user of slackwarelinux installed 12 about a week ago
when i tried to accesss mysql it didnt work gave out an error couldnot not connect through socket somethingsomething
i got a nwe tarball of sql and installed it no eroor make was ok and make install worked but still the error persists
during the boot mysqld starts and then stops and manual start also does not work
tell me hoe to uninstall it and how to make it work
- 01-06-2008 #2
The error message
Hi;
Could you please post the error message, thanks
- 01-06-2008 #3Just Joined!
- Join Date
- Oct 2006
- Posts
- 16
error 2002 hy000 cant connect to local mysql server through socket /var /run/mysql/mysql.sock
this is wat he says when i type mysql
rest of the error file in attached
- 01-06-2008 #4Just Joined!
- Join Date
- Apr 2006
- Posts
- 2
Slackware comes with MySQL already installed, but there are a couple of minor configuration steps that should be taken before starting it with /etc/rc.d/rc.mysqld.
This is an excerpt from /etc/rc.d/rc.mysqld which explains it:
# Before you can run MySQL, you must have a database. To install an initial
# database, do this as root:
#
# su - mysql
# mysql_install_db
#
# Note that step one is becoming the mysql user. It's important to do this
# before making any changes to the database, or mysqld won't be able to write
# to it later (this can be fixed with 'chown -R mysql.mysql /var/lib/mysql').
Make sure you read through rc.mysqld.
- 01-06-2008 #5Just Joined!
- Join Date
- Oct 2006
- Posts
- 16
is that all that i would hav to do
i am not able to work my lan card on slackware there fore cant access net there
do hav a solution for that too i hav an onboard lan card and command netconfig does not work


Reply With Quote