Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > Linux
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Linux General discussion of programming the various flavors of Linux operating systems.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Linux section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 27th, 2004, 10:32 AM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with Mysql on SuSE 9.1

Hi!,
    i am trying to setup and start mysql on suse 9.1, i enter yast, select the right packages install them then after that when i start the kernel and write any mysql command it saysa it can't find the mysql.sock file at /var/lib/mysql, i know i can delete the whole sock thing from the /etc/my.cnf, but i am afraid to do so, i don't know if it will make mysql work in a wrong way or not,

Plz Help!

Peace :)!
Reply With Quote
  #2 (permalink)  
Old May 27th, 2004, 11:48 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Can't find, or "cannot connet to"?

The latter usually just means the the MySQL server isn't running.

Take it easy,
Dan
Reply With Quote
  #3 (permalink)  
Old May 27th, 2004, 09:54 PM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well it says can't connect to,

what can i do?

Thx Dan for ur reply!

Peace:)!
Reply With Quote
  #4 (permalink)  
Old May 27th, 2004, 11:12 PM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by SuSE lover
 Well it says can't connect to, when i try to run the server it returns the same error

what can i do?

Thx Dan for ur reply!

Peace:)!
Reply With Quote
  #5 (permalink)  
Old May 28th, 2004, 06:10 AM
Friend of Wrox
 
Join Date: Jun 2003
Location: , , United Kingdom.
Posts: 256
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What does it say in:

/var/lib/mysql/mysqld.log

(I think that's where it's located, anyway. I only have access to RedHat boxes at work, to refer to, and I wouldn''t be willing to assume anything about RedHat was at all standard.)
Reply With Quote
  #6 (permalink)  
Old May 29th, 2004, 11:34 AM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Well it says the same error,
 cannot connect to localhost and then sumthing that has "/var/lib/mysql/mysql.sock", i can't find the mysql.sock there, when i start mysqld_safe it starts but when i type any command it says the same error, and in the book i bought they said the configuration on windows only(do they think all of us use windows?),

Thx again!
Peace :D!

Reply With Quote
  #7 (permalink)  
Old June 1st, 2004, 12:06 PM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi!,
thx daniel i will try this, well i have a wrox book about learning apache,mysql and php, it said the post installation on windows only they r windows lovers as i deduce although the things they r explaining are open source, anyway i will try this solution and i will keep u informed,

Bye!
Peace:D!

Reply With Quote
  #8 (permalink)  
Old June 3rd, 2004, 07:39 AM
Registered User
 
Join Date: May 2004
Location: , , .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi!,
   the solution is located here:
http://www.linuxquestions.org/questi...php+mysql+suse

Thx Daniel for your Feedback,

Peace :D!

Reply With Quote
Reply


Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Connection Problem! Doug86 Dreamweaver (all versions) 3 March 30th, 2008 11:15 AM
redhat & suse angelboy Linux 0 March 25th, 2007 01:05 AM
mysql connect problem protozoa JSP Basics 3 August 17th, 2004 12:21 AM
mySQL problem Henry 8 PHP How-To 4 August 2nd, 2004 12:32 PM



All times are GMT -4. The time now is 06:19 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.