need help pls
Posted by: john (---.dyn.optonline.net)
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: 'cataloguepublishers@officehost.com' (Using password: YES)

This is my code below:

<?php
$host = "cataloguepublishers.biz";
$user = "sevtech";
$pass = "sevtech18";

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

mysql_close($connection);
?>

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 cataloguepublishers.biz 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 (---.fbx.proxad.net)
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

Romain

Options: ReplyQuote


Sorry, only registered users may post in this forum.