Re: Mysql installation and start problems

2001-05-02 Thread Simone Lucarelli
On Wed, 2 May 2001 21:12:13 +1000 Yi-chen Lan <[EMAIL PROTECTED]> wrote: > *This message was transferred with a trial version of > CommuniGate(tm) Pro* > Hi, > After I installed RH7, I check 'rpm -q mysql' and showed > mysql-3.23.22-6, but > when I type 'mysql' , an error message showed 'ERROR >

Re: Mysql installation and start problems

2001-05-02 Thread Yi-chen Lan
Thanks Bobby, Dave and Mike, it works. Now I can get in 'mysql>' command. cheers -- YC On Wed, 02 May 2001, you wrote: > try /etc/rc.d/init.d/mysqld start > > On Wednesday 02 May 2001 19:42, you wrote: > > How do I start mysqld, by keyin mysqld? if so, I did and it gives me 'bash: > > mysqld: c

Re: Mysql installation and start problems

2001-05-02 Thread Mike Burger
That tells you that mysql is not running. As root run the following; chkconfig mysqld on /etc/rc.d/init.d/mysqld start After that, you should be able to do what you need. On Wed, 2 May 2001, Yi-chen Lan wrote: > It tells me: > 1618 pts/0S0:00 grep mysql > YC > On Wed, 02 May 2001, y

Re: Mysql installation and start problems

2001-05-02 Thread Dave Reed
> From: Yi-chen Lan <[EMAIL PROTECTED]> > > How do I start mysqld, by keyin mysqld? if so, I did and it gives me 'bash: > mysqld: command not found' > YC /etc/rc.d/init.d/mysqld start will start it. To make it start at every reboot, as root, execute: ntsysv and select mysql or look at the sy

Re: Mysql installation and start problems

2001-05-02 Thread Robert Reyes
try /etc/rc.d/init.d/mysqld start On Wednesday 02 May 2001 19:42, you wrote: > How do I start mysqld, by keyin mysqld? if so, I did and it gives me 'bash: > mysqld: command not found' > YC > > On Wed, 02 May 2001, you wrote: > > have you started the mysqld? if so, you have to start it before usin

Re: Mysql installation and start problems

2001-05-02 Thread Yi-chen Lan
How do I start mysqld, by keyin mysqld? if so, I did and it gives me 'bash: mysqld: command not found' YC On Wed, 02 May 2001, you wrote: > have you started the mysqld? if so, you have to start it before using mysql. > after running it for the first time, the /var/lib/mysql/ directory will have

Re: Mysql installation and start problems

2001-05-02 Thread Yi-chen Lan
It tells me: 1618 pts/0S0:00 grep mysql YC On Wed, 02 May 2001, you wrote: > What does "ps -ax | grep mysql" tell you? > > On Wed, 2 May 2001, Yi-chen Lan wrote: > > > Hi, > > After I installed RH7, I check 'rpm -q mysql' and showed mysql-3.23.22-6, but > > when I type 'mysql' , an erro

Re: Mysql installation and start problems

2001-05-02 Thread Mike Burger
What does "ps -ax | grep mysql" tell you? On Wed, 2 May 2001, Yi-chen Lan wrote: > Hi, > After I installed RH7, I check 'rpm -q mysql' and showed mysql-3.23.22-6, but > when I type 'mysql' , an error message showed 'ERROR 2002: Can't connect to > local MySQL server through socket '/var/lib/mysql

Re: Mysql installation and start problems

2001-05-02 Thread Robert Reyes
have you started the mysqld? if so, you have to start it before using mysql. after running it for the first time, the /var/lib/mysql/ directory will have contents. Bobby On Wednesday 02 May 2001 19:12, you wrote: > Hi, > After I installed RH7, I check 'rpm -q mysql' and showed mysql-3.23

Mysql installation and start problems

2001-05-02 Thread Yi-chen Lan
Hi, After I installed RH7, I check 'rpm -q mysql' and showed mysql-3.23.22-6, but when I type 'mysql' , an error message showed 'ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) I checked the directory '/var/lib/mysql/' and found out the directory is