LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-09-2012, 11:01 AM   #1
kgarman
LQ Newbie
 
Registered: Mar 2012
Location: Denver
Distribution: Slackware
Posts: 5

Rep: Reputation: Disabled
Mysql install problem w/ 13.37.0


I'm fairly new to Slackware and am trying to install/setup the default MySQL version 5.1.56.

I've created a database, but when I try to start mysql it stalls until I do a carrage return.

When I try to set a password I get
Quote:
error 2002 (hy000) can't connect to local mysql server through socket '/var/run/mysql/mysql.sock'
When I do
Code:
locate mysql.sock
nothing comes up at all.
I have found many other posts on this but none seem to deal w/ 13.37. The changelog for this release says that they changed some of the mysql directories, so fixes for other versions haven't worked.
 
Old 03-09-2012, 11:56 AM   #2
croxen
Member
 
Registered: May 2002
Posts: 80

Rep: Reputation: 22
There's trick in Slackware: the permissions are initially set wrong in the default mysql installation.

Check to be sure the steps in this brief guide have been followed: http://technotalk.tumblr.com/post/79...13-1-and-mysql And then you should be able to proceed with the normal mysql setup as root.
 
1 members found this post helpful.
Old 03-09-2012, 12:55 PM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,399

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
you can also read /etc/rc.d/rc.mysqld for instructions
 
Old 03-09-2012, 02:56 PM   #4
kgarman
LQ Newbie
 
Registered: Mar 2012
Location: Denver
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by croxen View Post
There's trick in Slackware: the permissions are initially set wrong in the default mysql installation.

Check to be sure the steps in this brief guide have been followed: http://technotalk.tumblr.com/post/79...13-1-and-mysql And then you should be able to proceed with the normal mysql setup as root.
It seems that I am missing "rc.mysql" can't locate it anywhere.
I do have a rc.mysqld however but I'm pretty sure it's not the same thing.

I tried to continue on in case there was a typo but on the step when I try to enter a password

Quote:
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
 
Old 03-09-2012, 03:10 PM   #5
kgarman
LQ Newbie
 
Registered: Mar 2012
Location: Denver
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: Disabled
Actually it worked. First time I ran the
Quote:
/usr/bin/mysqladmin -u root password yourpassword
I was just copying and pasting w/out really reading it so the password was set to 'yourpassword'.

Thanks for all your help!
 
  


Reply

Tags
13.37, mysql5


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
[SOLVED] yum install php-mysql create problem to my running mysql database arun5002 Linux - Server 1 08-11-2011 03:24 AM
Bugzilla - MySQL - perl - DBD::mysql install problem amchargue Linux - Software 3 09-10-2008 12:01 AM
Problem Starting MySQL on Fresh Fedora 8 Install w/ Yum'd MySQL blong4life Linux - Server 2 07-04-2008 07:44 PM
Bugzilla - MySQL - perl - DBD::mysql install problem Runningonair Linux - Software 8 10-12-2007 12:42 AM
MySQL mysql-3.23.56-1.9, rpm install problem jacsmith510 Linux - Newbie 3 09-19-2003 02:02 PM


All times are GMT -5. The time now is 07:12 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration