RE: MySQL newbie question

2002-01-16 Thread Rick Emery

did you start mysqld ?


-Original Message-
From: David Burklin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 1:36 PM
To: '[EMAIL PROTECTED]'
Subject: MySQL newbie question


Hello, and sorry for the bother with what is probaby a very simple problem.

I'm new to MySQL. I have just installed RedHat 7.2 Linux, and installed the
included distribution of MySQL, which is version 3.23.41

When I try to run the mysql program, either by itself, or with any
arguments, I get the following error.

ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)

Could anyone provide advice as to what I need to do to get this running?
Thanks for any assistance you can provide.

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: MySQL newbie question

2002-01-16 Thread David Burklin

yes... at least I thought so, although I think I may not have started it
properly. 

I have set it to an on state, using chkconfig --level 2345 mysqld on.
Afterwhich, if I do a chkconfig --list mysqld, it reports that mysqld is
running. However, I have found reference to using the command mysql.server
start in the online help manual. When I run that, I get

[root@Acillatem mysql]# ./mysql.server start
[root@Acillatem mysql]# Starting mysqld daemon with databases from
/var/lib/mysql
020115 13:38:41  mysqld ended

I think I've missed something somewhere... a ps -ax does not report the
daemon running, so that's the big part of my problem.


-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 1:44 PM
To: David Burklin; '[EMAIL PROTECTED]'
Subject: RE: MySQL newbie question


did you start mysqld ?


-Original Message-
From: David Burklin [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 1:36 PM
To: '[EMAIL PROTECTED]'
Subject: MySQL newbie question


Hello, and sorry for the bother with what is probaby a very simple problem.

I'm new to MySQL. I have just installed RedHat 7.2 Linux, and installed the
included distribution of MySQL, which is version 3.23.41

When I try to run the mysql program, either by itself, or with any
arguments, I get the following error.

ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)

Could anyone provide advice as to what I need to do to get this running?
Thanks for any assistance you can provide.

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: MySQL newbie question

2002-01-16 Thread nod

On Wednesday 16 Jan 2002 7:36 pm, you wrote:
 Hello, and sorry for the bother with what is probaby a very simple problem.

 I'm new to MySQL. I have just installed RedHat 7.2 Linux, and installed the
 included distribution of MySQL, which is version 3.23.41

 When I try to run the mysql program, either by itself, or with any
 arguments, I get the following error.

 ERROR 2002: Can't connect to local MySQL server through socket
 '/var/lib/mysql/mysql.sock' (2)

 Could anyone provide advice as to what I need to do to get this running?
 Thanks for any assistance you can provide.

type 
ps -A | grep mysql

to see if mysql is running. If its not then try 

/etc/init.d/mysqld start

to see if there are any error messages. If it just wasn't started when you 
booted type 
ntsys 
and scroll down the menu until you reach mysqld and hit space which should 
put a little star by it and therfore get it working

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




RE: MySQL newbie question

2002-01-16 Thread David Burklin

This did the trick. Thanks Nod and everyone else! 

-Original Message-
From: nod [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 2:02 PM
To: David Burklin
Cc: [EMAIL PROTECTED]
Subject: Re: MySQL newbie question


On Wednesday 16 Jan 2002 7:36 pm, you wrote:
 Hello, and sorry for the bother with what is probaby a very simple
problem.

 I'm new to MySQL. I have just installed RedHat 7.2 Linux, and installed
the
 included distribution of MySQL, which is version 3.23.41

 When I try to run the mysql program, either by itself, or with any
 arguments, I get the following error.

 ERROR 2002: Can't connect to local MySQL server through socket
 '/var/lib/mysql/mysql.sock' (2)

 Could anyone provide advice as to what I need to do to get this running?
 Thanks for any assistance you can provide.

type 
ps -A | grep mysql

to see if mysql is running. If its not then try 

/etc/init.d/mysqld start

to see if there are any error messages. If it just wasn't started when you 
booted type 
ntsys 
and scroll down the menu until you reach mysqld and hit space which should 
put a little star by it and therfore get it working

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php