Help can't be given if you don't show what's wrong.
|
hey,
I cannot get my server to connect to mysql database. For highscores etc. Please help me
Help can't be given if you don't show what's wrong.
It will be your mySQL config file not written properly...
This is the usual config file i use, just change username to your DB username, the password to yours and the hostname to the host that it is on.. hope it helps.
Ps; could you show how you are getting your data for your highscores, that could also be another problem.<?php
$username = "root";
$password = "";
$hostname = "localhost";
$dbhandle = mysql_connect($hostname, $username, $password)
or die("Unable to connect to MySQL");
echo "Connected to MySQL";
?>
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |