need help pls
Posted by: john (
Date: January 25, 2006 07:19PM

I'm getting this message when testing to see if i am able to connect to mysql server...

Cannot connect to Mysql server.Access denied for user: '' (Using password: YES)

This is my code below:

$host = "";
$user = "sevtech";
$pass = "sevtech18";

$database = "bpa";
$connection = mysql_connect($host, $user, $pass) or die("Cannot connect to Mysql server." .mysql_error());


any help pls?

I've tried changing the privileges using the phpmyadmin..i also have created a database and a table...i don't know what i'm doing wrong...

what i'm trying to do is be able to connect to mysql server from domain...but, unfortunately, i'm getting this message that i am not able to connect to mysql server...

Options: ReplyQuote
Re: need help pls
Posted by: Romain Bourdon (
Date: January 25, 2006 07:35PM

Are you sure that MySQL connections for this user is opened to outside? Usually, conections are limited to localhost for security reasons. Ask your host


Options: ReplyQuote

Sorry, only registered users may post in this forum.