its still not connecting .... idk whats wrong
but the error was fixed
Wait. You say it's still not connecting but you also say the error was fixed. So is your problem complete or do you just mean you fixed the user & password flip-flop but it still doesn't work?
If it's still not working: Are you hosting the website on the same server that you are hosting your EO Server on?
If it's still not working: Are you hosting the website on the same server that you are hosting your EO Server on?
yep same ip same computer
AND
Quote:
<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="173.27.234.190";
$mypass="rufeng"; //your server login password
$myuser="root"; //your server login username
$mydbacc="account"; //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="173.27.234.190"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername = "DemonsBeast"; //Put your servername here.
$link = "http://demonsbeast.servegame.com"; //Put your website link here
// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>
anything wrong with my config.php?
AND ERROR
Quote:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '173.27.234.190' (10060) in C:\xampp\htdocs\www\config.php on line 16
Your first error came back with "Access denied for user: 'rufeng'@'localhost' (Using password: YES)" Which means that your website was able to connect to your database, but was denied access because of an improper login.
For the second try, you got "Can't connect to MySQL server on '173.27.234.190' (10060)" which means your website could not connect to your mysql server at all. This is likely due to a firewall.
An easy solution is changing $myhost back to localhost. Then see if you get any errors after your website is able to successfully reach your mysql server.
Copy everything inside the config.php
and past in the top of index.php
huh ?????
Quote:
An easy solution is changing $myhost back to localhost. Then see if you get any errors after your website is able to successfully reach your mysql server.
yeh i can get on the site with no errors but no one else can
Sounds like a firewall issue to me if no one else can connect to your website.
As for eregi, You can't use that function anymore since php 5.3.2. suggests you replace it with preg_match with an i modifier. Check link for more details.
go back to that thread and look what other people have written the same thing happened to me its because u r using a newer version of xammp someone posted the files u need for that version
Erstelle eure WebSite / Create your Website 10/20/2010 - elite*gold Trading - 39 Replies Hallo Community,
Aktuelle Treasures
No permission - GEKAUFT
No permission - OFFEN
Da ich genügend Zeit habe, und neben nach neuen Herrausforderungen suche, bietet ich ab heute meinen Website Service an.
[Website] need free a website? look here. 11/10/2008 - CO2 Private Server - 9 Replies hey server owners im a pro with moonfruit (website creator) and yes i make websites for you guys for free because i like it to make them.
What you guys are thinking:
wtf, moonfruit is free for everyone why offering your service?
answer to you guys:
because i like to make website with moonfruit for people and i know everything about making website with moonfruit, moonfruit does have many secret options that not people know
[email protected] is my email you can add me anytime