Yes...the server is running.
Doing a "ps -aux | grep mysql" shows :-
root@home downloads]# ps -aux | grep mysql
root 513 0.0 0.0 1700 0 ? SW 15:30 0:00 [safe_mysqld]
mysql 553 0.0 0.1 11548 32 ? S 15:30 0:00 [mysqld]
mysql 559 0.0 0.1 11548 32 ? S 15:30 0:00 [mysqld]
mysql 560 0.0 0.1 11548 32 ? S 15:30 0:00 [mysqld]
root 1452 0.0 1.6 132 508 pts/0 D 16:39 0:00 grep mysql
Thanks,
Mark.
>===== Original Message From Lawrence Sweeney
<[EMAIL PROTECTED]> =====
>On 2001.08.01 16:23 Mark Hannah wrote:
>> Has anyone sucessfully configured the perl DBI module to work with a MySQL
>> database?
>>
>> After installing the MySql server, I have downloaded the following packages
:-
>>
>> 1) DBI-1.18 - The DBI module for Perl.
>> This installs fine.
>>
>> 2) Msql-Mysql-modules-1.2216 - DBI drivers for MySql.
>> To install this, I do the following :-
>>
>> perl Makefile.pl
>> make
>> make test
>>
>> During "make test" it fails with the folowing error :-
>>
>> PERL_DL_NONLAZY=1 /usr/bin/perl -I../blib/arch -I../blib/lib
>> -I/usr/lib/perl5/5.00503/i386-linux -I/usr/lib/perl5/5.00503 -e 'use
>> Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
>> t/00base............ok
>> t/10dsnlist.........DBI->connect(database=test) failed: Access denied for
>> user: 'root@localhost' (Using password: NO) at t/10dsnlist.t line 45
>> Cannot connect: Access denied for user: 'root@localhost' (Using password:
NO)
>> Either your server is not up and running or you have no
>>
>
>Have you checked that the mysql server is running?
>
>Don't know your distro, but you could try rtus
>
>if it is not up try /etc/rc.d/mysql sta
>
>--------------------------------------------------------------------
>http://www.lug.org.uk http://www.linuxportal.co.uk
>http://www.linuxjob.co.uk http://www.linuxshop.co.uk
>--------------------------------------------------------------------
Totalise - the Users ISP
----------------------
To become a member and a shareholder
visit http://www.totalise.net
-----------------------
The Totalise Email system, probably the most flexible email system in the
world. To register for an account goto http://www.totalise.net
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------