Koozali.org: home of the SME Server

Connecting to mysql database

Mike

Connecting to mysql database
« on: September 28, 2003, 01:35:48 AM »
I am not sure where to report this issue...can someone give me a hint. You can see the folks at the report a bug center directed me back to the discussion forum.

> Using php to connect to a database. Created database in mysql
> granted all privileges to user@localhost id'd by 'password'
>
> ran this script >  * Replace with the server's address (usually "localhost").
>  * Replace with the database access username.
>  * Replace with the database access password.
>  * Replace with the name of the database. */
>
>   mysql_connect("localhost", "user", "password") or
>   die(mysql_error()); mysql_select_db("database>") or
>   die(mysql_error()); ?>
>
> Returns this error Access denied for user: 'user@localhost' to
> database 'database>'

I'm sorry, but we cannot offer support for the unsupported release. I
suggest that you ask your questions on the e-smith forums.

Regards,
Mike

Ray Mitchell

Re: Connecting to mysql database
« Reply #1 on: September 28, 2003, 10:40:01 AM »
search here on mysql    (all dates).

Also try this re v5.6
http://www.e-smith.org/bboard//read.php?f=1&i=23210&t=23210

Regs
Ray