Hi Jean-Michel,
I think I forgot one of the steps you suggested..here's output with the
"chkconfig--add mysql" before running "/etc/rc.d/init.d/mysql start"
[fran@flp fran]$ su
Password:
[root@flp fran]# chkconfig --add mysql
[root@flp fran]# /etc/rc.d/init.d/mysql start
[root@flp fran]# Starting mysqld daemon with databases from /var/lib/mysql
mysqld daemon ended
[root@flp fran]#
still had to control-c out of it to get prompt back after it reports mysql
daemon
ended.
Thanks,
Bambi
Jean-Michel Dault wrote:
>
> On Fri, 1 Sep 2000, Fran Parker wrote:
>
> > > > [root@flp fran]# perl -e 'use DBD::mysql;';
> > > > [root@flp fran]# mysql -u root
> > > > ERROR 2002: Can't connect to local MySQL server through socket
> > > > '/var/lib/mysql/mysql.sock' (111)
> > > > [root@flp fran]#
> > >
> > > Usually that just means the the MySQL server isn't started. Are you
> > > absolutely sure it's running? What does 'ps ux' show?
>
> >From what I see, MySQL-perl is working, but your MySQL server is not
> running. First do a "chkconfig --add mysql" then run
> "/etc/rc.d/init.d/mysql start"
>
> Jean-Michel Dault
> [EMAIL PROTECTED]
>
> > Hi Steve,
> >
> > ps ux as follows:
> >
> > [fran@flp fran]$ su Password: [root@flp fran]# ps ux USER PID %CPU %MEM
> > VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.1 1060 112
> > ? S 18:48 0:05 init root 2 0.0 0.0 0 0 ?
> > SW 18:48 0:00 [kflushd] root 3 0.0 0.0 0 0 ? SW
> > 18:48 0:00 [kupdate] root 4 0.0 0.0 0 0 ? SW 18:48
> > 0:00 [kpiod] root 5 0.0 0.0 0 0 ? SW 18:48 0:02
> > [kswapd] root 6 0.0 0.0 0 0 ? SW< 18:48 0:00
> > [mdrecoveryd] root 351 0.0 0.3 1116 208 ? S 18:48 0:00
> > syslogd -m 0 root 361 0.0 0.7 1372 492 ? S 18:48 0:00
> > klogd root 391 0.0 0.2 1272 168 ? S 18:48 0:00 crond
> > root 406 0.0 0.3 1080 196 ? S 18:48 0:00 inetd root
> > 421 0.0 0.1 1132 80 ? S 18:48 0:00 lpd root 500 0.0
> > 0.4 1584 288 ? S 18:48 0:00 /usr/lib/postfix/root 522 0.0
> > 0.1 1088 84 ttyS0 S 18:48 0:00 gpm -t ms root 588 0.0 2.1
> > 3268 1396 ? S 18:48 0:00 smbd -D root 598 0.0 0.9 1808 592
> > ? S 18:48 0:00 nmbd -D root 628 0.0 0.0 1028 60 tty1
> > S 18:48 0:00 /sbin/mingetty ttroot 629 0.0 0.0 1028 60 tty2
> > S 18:48 0:00 /sbin/mingetty ttroot 630 0.0 0.0 1028 60 tty3
> > S 18:48 0:00 /sbin/mingetty ttroot 631 0.0 0.0 1028 60 tty4
> > S 18:48 0:00 /sbin/mingetty ttroot 632 0.0 0.0 1028 60 tty5
> > S 18:48 0:00 /sbin/mingetty ttroot 633 0.0 0.0 1028 60 tty6
> > S 18:48 0:00 /sbin/mingetty ttroot 634 0.0 0.3 6076 200 ?
> > S 18:48 0:00 kdm -nodaemon root 641 1.7 10.2 18540 6640 ?
> > S 18:48 5:06 /etc/X11/X -auth root 642 0.0 0.0 7260 0 ?
> > SW 18:48 0:00 [kdm] root 727 0.0 1.4 6704 972 ? S
> > 18:49 0:00 /usr/bin/kppp root 730 0.0 0.0 1504 0 ttyS1 SW
> > 18:50 0:00 [pppd] root 1071 0.5 1.4 2012 924 pts/0 S 23:39
> > 0:00 su root 1074 1.1 1.9 2056 1268 pts/0 S 23:40 0:00 bash
> > root 1089 0.0 1.4 2492 912 pts/0 R 23:40 0:00 ps ux [root@flp
> > fran]#
> >
> > Can you make heads or tails out of that? :)
> >
> > Bambi
> >
> >
> > Steve Fox wrote:
> > >
> > > Fran Parker wrote:
> > > >
> > > > Hi Pixel,
> > > >
> > > > got the ftp://ftp.mandrakesoft.com/pub/pixel/perl-Mysql-1.22_15-2mdk.i586.rpm
> > > > and installed it, rebooted and got the following results (we are getting
> > > > somewhere
> > > > good, not all the way though):
> > > >
> > > > [fran@flp fran]$ su
> > > > Password:
> > >
> > > --
> > >
> > > Steve Fox
> > > http://k-lug.com
> >