|
You last visited: Today at 01:46
Advertisement
Problem in connecting Mysql with the website
Discussion on Problem in connecting Mysql with the website within the CO2 Private Server forum part of the Conquer Online 2 category.
12/13/2010, 17:27
|
#1
|
elite*gold: 0
Join Date: Aug 2007
Posts: 327
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
|
|
|
12/13/2010, 17:28
|
#2
|
elite*gold: 0
Join Date: Jun 2010
Posts: 3,406
Received Thanks: 2,024
|
you used it on a extern webspace? is the server on a root?
|
|
|
12/13/2010, 17:31
|
#3
|
elite*gold: 0
Join Date: Aug 2007
Posts: 327
Received Thanks: 54
|
what do you mean? you mean my user is a root or not? if so yes my user is root
|
|
|
12/13/2010, 17:33
|
#4
|
elite*gold: 0
Join Date: Jun 2010
Posts: 3,406
Received Thanks: 2,024
|
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 )
|
|
|
12/13/2010, 17:34
|
#5
|
elite*gold: 0
Join Date: Aug 2007
Posts: 327
Received Thanks: 54
|
no it's not hamachi its on my computer static ip
|
|
|
12/13/2010, 17:37
|
#6
|
elite*gold: 0
Join Date: Jun 2010
Posts: 3,406
Received Thanks: 2,024
|
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 ?
|
|
|
12/13/2010, 17:39
|
#7
|
elite*gold: 0
Join Date: Aug 2007
Posts: 327
Received Thanks: 54
|
Thanks for your try in helping me
|
|
|
12/13/2010, 17:40
|
#8
|
elite*gold: 0
Join Date: Jun 2010
Posts: 3,406
Received Thanks: 2,024
|
ah i just saw.. the website is on your pc?
|
|
|
12/13/2010, 17:41
|
#9
|
elite*gold: 0
Join Date: Aug 2007
Posts: 327
Received Thanks: 54
|
yes and the server on my pc too,you can check the website from here
|
|
|
12/13/2010, 17:43
|
#10
|
elite*gold: 0
Join Date: Jun 2010
Posts: 3,406
Received Thanks: 2,024
|
so you have installed php and appache on your pc ?
|
|
|
12/13/2010, 17:44
|
#11
|
elite*gold: 0
Join Date: Aug 2007
Posts: 327
Received Thanks: 54
|
I don't have install.php for the site but i have appache on my pc
|
|
|
12/13/2010, 17:47
|
#12
|
elite*gold: 0
Join Date: Jun 2010
Posts: 3,406
Received Thanks: 2,024
|
you have to install php on your pc
|
|
|
12/13/2010, 17:48
|
#13
|
elite*gold: 0
Join Date: Aug 2007
Posts: 327
Received Thanks: 54
|
gimme link please
|
|
|
12/13/2010, 17:50
|
#14
|
elite*gold: 0
Join Date: Jun 2010
Posts: 3,406
Received Thanks: 2,024
|
you can search on googel .. but i dont know the correct version.. search php 5 this should be the right version
|
|
|
12/13/2010, 17:51
|
#15
|
elite*gold: 0
Join Date: Aug 2007
Posts: 327
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;
}
|
|
|
 |
|
Similar Threads
|
Help connecting website from a different computer then server is on
07/17/2010 - EO PServer Hosting - 1 Replies
NULL cause Andrew1991 is so sexy :O
|
Connecting Problem zum MySQl Server
10/11/2009 - Metin2 Private Server - 1 Replies
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 die DataBase.
Habe auch schon alles neu gemacht bringt auch ncihts.
Könnt ihr mir weiterhelfen?
PS: Vorher lief alles einwandfrei!
|
[Guide] Fix for Connecting to Sbot Website/BotServer
06/04/2009 - SRO Guides & Templates - 5 Replies
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 simply connect your net via wireless then try to load the site, If it works, then your wired will work too.
I assume this problem can occur with both wired and wireless, so I recommend you try to update/backdate your ethernet/wireless drivers.
|
[HELP] website not connecting to my db
03/05/2009 - EO PServer Hosting - 11 Replies
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 am using the template made by Mizzion i have the website up, but it is not linking to my database on my server, anyone know what would cause this? any help with this would be great i would love to open my server this weekend for players but i cant if i have no register page working lol
ty all in advance
this is the error i got when i tried to...
|
noobproblem :s hab mysql kaputtgemacht xD/ig connecting frage
02/18/2009 - Flyff - 1 Replies
Nabend :D
also ich hab folgendes problem:
ich hab vorhin iwie mit pw rumgespielt und dann kam dies >.<
http://img120.imageshack.us/my.php?image=asdadul5 .gif
Und dann bezüglich conncet (jez kann's n bissi kompliziert werden bei meim deutsch)
also erstmal Wenn ich priv server ohne apache starte kommt nach serverwahl 'cannot connect' ich gehdavon aus das es daran liegt.
|
All times are GMT +1. The time now is 01:46.
|
|