Forums / Cotonti / Support / Just installed cotonti on apache ERROR when i go to site

error mysql

andrew789123
#1 2009-03-05 00:38
Ok can anyone tell me how to fix this error:
Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in C:\xampp\htdocs\FOURM\system\database.mysql.php on line 97

2009-03-04 16:33
Fatal error : Could not select the database !
Please check your settings in the file datas/config.php
MySQL error :


How do i fix i checked the database name which i thought it might be and it is alright its the same.

COME ON I GOT NO HELP HERE
This post was edited by andrew789123 (2009-03-05 02:46, 15 years ago)
robofreak111
#2 2009-03-05 03:48
did you check the other values in config.php?
andrew789123
#3 2009-03-05 03:50
What do you mean

??? you havent replied
This post was edited by andrew789123 (2009-03-05 04:22, 15 years ago)
Kilandor
#4 2009-03-05 04:45
Fatal error : Could not select the database !
Please check your settings in the file datas/config.php
MySQL error :
Either you have nothing in your config.php, or it is wrong
TwistedGA
#5 2009-03-05 04:53
Upon extracting cotonti, you need to create a copy of the datas/config.sample.php and rename it to config.php, update this files values with your SQL and server information.

Video Tutorial: http://www.cotonti.com/docs/en/videos/edit_config_php
[color=#CC0000]Lazymod[/color] [color=#000000]Studios[/color]
robofreak111
#6 2009-03-05 04:57
oh yeah, i forgot about the vid tuts.. great job Lombi :)
GHengeveld
#7 2009-03-05 08:12
Remember, for xampp (local), your database user/pass is probably:
user: root
pass: -empty-
At least this is what I use when I run a local copy with EasyPHP (xampp alternative).
andrew789123
#8 2009-03-08 18:02
I got it fixed now but i dunno how to make my site go live i have portfowarded and thts it