MySQL Database Connection Problem

Hi Jodohost,

http://www.lawofattractioncoach.com/blog/mt-load.cgi

I am installing Movable Type Blog on the server. It requires MySQL database. I have created a database. The following is the information for database:

DBHost mysql.jodoshared.com
DBPort 3306

I have used the above information in the configuration script of Movable Type Blog.

I am getting error:

Connection error: Access denied for user: '[email protected]****here.biz' (Using password: YES)

URL:

http://www.lawofattractioncoach.com/blog/mt-load.cgi

Is there anything else that needs to be done to use MySQL database?

Why am I getting the above error? All the information is correct ... but still I am getting the above error!

Please help me ... I am an ASP - Access programmer ... I have no idea of php and MySQL stuff ..

Regards,

Prateek
 
Your code should look like this

Code:
<?php
$DBHost = "mysql.jodoshared.com";
$DBUser = "prefix_username";
$DBPwd = "yourpass";
$DBName = "prefix_dbname";

mysql_connect($DBHost, $DBUser, $DBPwd) or die('Could not connect');
mysql_select_db($DBName) or die('Could not select db');
?>

That works without in any problem in my account
 
1 Mysql database in 20 websites

I'm a new freelance web programmer, In hostcentric I have 20 static websites and I'm planning to make it all a database driven site but using only 1 database. So that, if I made a changes (through CMS) in one site it will propagates to all sites. The problem is that it easy to do in my localhost but I do not know how to set it up in hostcentric.

Please help me with my problem!
 
Back
Top