On Dec 3, 2003, at 11:06 PM, Lorin Rivers wrote:


I cannot get DBD::Mysql to install.

I can connect to test just fine with the passwords I am supplying to Makefile.pl when I use those on the command line.

When I try to make test I get this:
t/10dsnlist........DBI connect('test:localhost','root',...) failed: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES) at t/10dsnlist.t line 45
Cannot connect: Access denied for user: '[EMAIL PROTECTED]' (Using password: YES)
Either your server is not up and running or you have no
permissions for acessing the DSN DBI:mysql:test:localhost.
This test requires a running server and write permissions.
Please make sure your server is running and you have
permissions, then retry.


Suggestions?
I ended up just starting over with the setup process for the privileges tables (there's a script that's part of the initial set up), setting the permissions on the directories inside <path to>/mysql correctly, and so on. Essentially it was a polyvalent permissions tangle...

Works now though...

First, I renamed my data directory to data_old
then from within the mysql directory I ran:
shell> ./scripts/mysql_install_db

then I set the permissions on the various directories
shell> chown -R root  /usr/local/mysql
shell> chown -R mysql /usr/local/mysql/data
shell> chgrp -R mysql /usr/local/mysql

then I set the root password again.



Reply via email to