From: Christopher R. Jones Date: March 28 1999 2:49pm Subject: Re: Installing DBD::mysql List-Archive: http://lists.mysql.com/mysql/1087 Message-Id: <3.0.5.32.19990328094953.00997100@mail.interlog.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" I have installed DBD:mysql on three computers: NT, Linux and Solaris 7, Intel. I have never had "make test" work properly but the mysql module has worked flawlessly on all machines. I would do "make install" and then set up your own test database and perl script to test the mysql module. >Hi, > >I'm having problems installing DBD::mysql. I'm on a Linux machine and >am using perl5.00401. I installed the binary RPM containing include >files and libraries for development for i386 machines of mysql, the Perl >Data-Dumper, and DBI 1.06. So far everything has been smooth >(somewhat), and I am able to connect to the databases. However, when I >try to install the DBD::mysql, I get this error: > >Cannot connect: Can't connect to local MySQL server (2) > Either your server is not up and running or you have no > permissions for acessing the DSN DBI:mysql:database=test. > This test requires a running server and write permissions. > Please make sure your server is running and you have > permissions, then retry. > >This is after I run "shell>make test". > >I'm pretty sure that the database engine is up and running and that I >have permission to write to the database. I connected via: "shell>mysql >-u user -ppassword test" and was able to get through. I tried changing >the $DBI_DSN environment variable to several of the options that was >suggested in the INSTALL file. I still can't install the DBD. Would >anyone know what I'm doing wrong. Please HELP! > >Thanks very much in advance, > >Amie Phung > > > >--------------------------------------------------------------------- >Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before >posting. To request this thread, e-mail mysql-thread1078@stripped > >To unsubscribe, send a message to the address shown in the >List-Unsubscribe header of this message. If you cannot see it, >e-mail mysql-unsubscribe@stripped instead. > > > Christopher R. Jones, P.Eng. 14 Oneida Avenue Toronto, Ontario M5J 2E3 Tel. 416 203-7465 Fax. 416 203-3044 Email cj@stripped