Voytek wrote:
OK, it seems it fails with no password:
how can i pass mysql password, or specify different username ?
...
t/40bindparam......DBI connect('test','',...) failed: Access denied for
user: '[EMAIL PROTECTED]' (Using password: NO) at t/40bindparam.t line 64
Cannot connect: Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)
        Either your server is not up and running or you have no

You dont have permission to access any MySQL database. You need to use mysqladmin and set a root password for your database and then create a .my.cnf file like this:


mikel$ cat .my.cnf [client]
host=localhost
user=root
password=thatsMySecret


That will allow scripts to access mysql

Go to the main mysql website and there is documentation there.

--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to