Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Open Source > Linux
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 27th, 2004, 10:32 AM
Registered User
 
Join Date: May 2004
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 :)!
 
Old May 27th, 2004, 11:48 AM
Friend of Wrox
 
Join Date: Jun 2003
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
 
Old May 27th, 2004, 09:54 PM
Registered User
 
Join Date: May 2004
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:)!
 
Old May 27th, 2004, 11:12 PM
Registered User
 
Join Date: May 2004
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:)!
 
Old May 28th, 2004, 06:10 AM
Friend of Wrox
 
Join Date: Jun 2003
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.)
 
Old May 29th, 2004, 11:34 AM
Registered User
 
Join Date: May 2004
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!

 
Old June 1st, 2004, 12:06 PM
Registered User
 
Join Date: May 2004
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!

 
Old June 3rd, 2004, 07:39 AM
Registered User
 
Join Date: May 2004
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!






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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.