PDA

View Full Version : MySQL server settings


Muradann
10-17-2006, 12:25 PM
<?php
$dbUser = '********'; //Enter the user name to access the Mysql NDKP Database (replace User)
$dbPassword = '******'; //Enter the password for the User name above (replace Password)
$dBase = '********'; //Enter the name of the database. (replace Database)
$dbServer = 'host'; // Enter the IP or localhost of your MySQL server (replace Host)
error_reporting(E_ALL & ~E_NOTICE);
?>

This is the server config for my guild dkp site, ive got everything down but I'm not quite sure what to put in the 'host' spot, ive tried 'localhost', how can i find the IP of my MySQL server?

ds4081
10-17-2006, 12:35 PM
localhost is correct if you are running the mysql database from the server. Make sure you create the database in the cpanel, create a user in the cpanel database area and then add that user to the database. also make sure your config looks like this

$dbUser = 'username_dbusername'
$dbase = 'username_dbname'

Just as its displayed in the cpanel.

--DS4081