Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 09:38

  • Please register to post and access all features, it's quick, easy and FREE!

 

Problem in connecting Mysql with the website

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2007
Posts: 326
Received Thanks: 54
Problem in connecting Mysql with the website

Every website i download i get error at line 29 and line 30 at config.php

but recently i noticed it's my problem not website problem

i write everything right

the problem at this

$MySQL=mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($gamedb);

I have already wrote all things right above like myuser:**** and others
don't know where is the problem

Warning: mysql_connect() [function.mysql-connect]: Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.17-nt in C:\AppServ\www\****\config.php on line 29

Warning: mysql_connect() [function.mysql-connect]: Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\AppServ\www\****\config.php on line 29

Warning: mysql_select_db() [function.mysql-select-db]: Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.17-nt in C:\AppServ\www\****\config.php on line 30

Warning: mysql_select_db() [function.mysql-select-db]: Connecting to 3.22, 3.23 & 4.0 servers is not supported in C:\AppServ\www\****\config.php on line 30

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\AppServ\www\*****\config.php on line 30



elmo3zeb is offline  
Old   #2
 
elite*gold: 0
Join Date: Jun 2010
Posts: 3,408
Received Thanks: 2,023
you used it on a extern webspace? is the server on a root?


NotEnoughForYou is offline  
Old   #3
 
elite*gold: 0
Join Date: Aug 2007
Posts: 326
Received Thanks: 54
what do you mean? you mean my user is a root or not? if so yes my user is root
elmo3zeb is offline  
Old   #4
 
elite*gold: 0
Join Date: Jun 2010
Posts: 3,408
Received Thanks: 2,023
i mean, your server is on hamachi / dyndns or root or something like that? because i dont know the game CO2 but i know this error by an metin2 p server and there if you have an hamachi server, you have to put your website on xamp ( the hoster )


NotEnoughForYou is offline  
Old   #5
 
elite*gold: 0
Join Date: Aug 2007
Posts: 326
Received Thanks: 54
no it's not hamachi its on my computer static ip
elmo3zeb is offline  
Old   #6
 
elite*gold: 0
Join Date: Jun 2010
Posts: 3,408
Received Thanks: 2,023
hmm i dont know , if its possible to make a register page or something like that on a extern webspace, if you donīt have an root server.. probably you can use xamp

#edit .. other player can connect to your server ?
NotEnoughForYou is offline  
Old   #7
 
elite*gold: 0
Join Date: Aug 2007
Posts: 326
Received Thanks: 54
Thanks for your try in helping me
elmo3zeb is offline  
Old   #8
 
elite*gold: 0
Join Date: Jun 2010
Posts: 3,408
Received Thanks: 2,023
ah i just saw.. the website is on your pc?
NotEnoughForYou is offline  
Old   #9
 
elite*gold: 0
Join Date: Aug 2007
Posts: 326
Received Thanks: 54
yes and the server on my pc too,you can check the website from here
elmo3zeb is offline  
Old   #10
 
elite*gold: 0
Join Date: Jun 2010
Posts: 3,408
Received Thanks: 2,023
so you have installed php and appache on your pc ?
NotEnoughForYou is offline  
Old   #11
 
elite*gold: 0
Join Date: Aug 2007
Posts: 326
Received Thanks: 54
I don't have install.php for the site but i have appache on my pc
elmo3zeb is offline  
Old   #12
 
elite*gold: 0
Join Date: Jun 2010
Posts: 3,408
Received Thanks: 2,023
you have to install php on your pc
NotEnoughForYou is offline  
Old   #13
 
elite*gold: 0
Join Date: Aug 2007
Posts: 326
Received Thanks: 54
gimme link please
elmo3zeb is offline  
Old   #14
 
elite*gold: 0
Join Date: Jun 2010
Posts: 3,408
Received Thanks: 2,023
you can search on googel .. but i dont know the correct version.. search php 5 this should be the right version
NotEnoughForYou is offline  
Old   #15
 
elite*gold: 0
Join Date: Aug 2007
Posts: 326
Received Thanks: 54
maybe thats the problem i found this at appserv site

Everybody knows phpMyAdmin can export file to Excel format but phpMyAdmin just export .csv file,not real Excel file format. If you are interest in PHP programming and need to export to the real Excel format please check it out !

Example PHP export to XLS file format.

1. Create Function for XLS

function xlsBOF() {
echo pack("ssssss", 0x809, 0x8, 0x0, 0x10, 0x0, 0x0);
return;
}

function xlsEOF() {
echo pack("ss", 0x0A, 0x00);
return;
}

function xlsWriteNumber($Row, $Col, $Value) {
echo pack("sssss", 0x203, 14, $Row, $Col, 0x0);
echo pack("d", $Value);
return;
}

function xlsWriteLabel($Row, $Col, $Value ) {
$L = strlen($Value);
echo pack("ssssss", 0x204, 8 + $L, $Row, $Col, 0x0, $L);
echo $Value;
return;
}


elmo3zeb is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Help connecting website from a different computer then server is on
NULL cause Andrew1991 is so sexy :O
1 Replies - EO PServer Hosting
Connecting Problem zum MySQl Server
Huhu ich habe seit eben dieses Problem: http://img208.imageshack.us/img208/9788/1110l.png In den Server komme ich trotzdem rein,aber halt nicht in...
1 Replies - Metin2 PServer - Discussions / Questions
[Guide] Fix for Connecting to Sbot Website/BotServer
Pretty short guide but it works. For those having Connection Failed errors with the paid bot, and for those that can't connect to Bot-Cave.net...
5 Replies - SRO Guides & Templates
[HELP] website not connecting to my db
hopefully someone can help me with this, i have my server on a windows based vps, and my website through the same company but diff ip's obviously i...
11 Replies - EO PServer Hosting
noobproblem :s hab mysql kaputtgemacht xD/ig connecting frage
Nabend :D also ich hab folgendes problem: ich hab vorhin iwie mit pw rumgespielt und dann kam dies >.<...
1 Replies - Flyff Main - Discussions / Questions



All times are GMT +2. The time now is 09:38.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.