Current time: 04-23-2014, 11:04 PM Hello There, Guest! (LoginRegister)

Post Reply 
using php script to connect to database
10-05-2011, 09:41 AM
Post: #1
using php script to connect to database
I was using the following script to connect to the database:
<?php
// Define database connection constants
define('DB_HOST', 'mysql.ourverdantgarden.com');
define('DB_USER', 'verdant');
define('DB_PASSWORD', <EDITED OUT>);
define('DB_NAME', 'ourverdantgarden_nativeplants');
define('DB_PORT', '3306');
?>

but it's not working anymore. I don't know if the port number has changed. I have checked the password and user.

Any thoughts?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: