Register page Problems

09/28/2011 14:18 mid93#16
Quote:
Originally Posted by XxFearReaperXx View Post
// this is what it has to do in order to connect to the database

the problem he is having is highlighted in RED
Try these two steps to fix the problem
1. Change First Area to localhost or 127.0.0.1
2. if you are not using an account folder for accounts and your accounts are directly in your "my" folder then change the second red area

already fixed .. i lost my php thats all .... thanks anyway for help
09/28/2011 21:51 PowerChaos#17
you can download my easy website :D

[Only registered and activated users can see links. Click Here To Register...]

it contains php and mysql ready to use

and for the problem you where posting
it says exactly what the error is

you are using a to new version of php that does not support mysql 4X
so you need to load a older mysq.ddl file or you need to use a differend php version who does support mysql 4.X

Greetings From PowerChaos
12/29/2014 05:44 pikachusidera#18
Warning: mysql_connect() [function.mysql-connect]: [2002] Uma tentativa de conexão falhou porque o componente conectado nã (trying to connect via tcp://localhost:3306) in C:\AppServ\www\config.php on line 16

Warning: mysql_connect() [function.mysql-connect]: Uma tentativa de conexão falhou porque o componente conectado não respondeu corretamente após um período de tempo ou a conexão estabelecida falhou porque o host conectado não respondeu. in C:\AppServ\www\config.php on line 16

Warning: mysql_select_db() [function.mysql-select-db]: [2002] Uma tentativa de conexão falhou porque o componente conectado nã (trying to connect via tcp://localhost:3306) in C:\AppServ\www\config.php on line 17

Warning: mysql_select_db() [function.mysql-select-db]: Uma tentativa de conexão falhou porque o componente conectado não respondeu corretamente após um período de tempo ou a conexão estabelecida falhou porque o host conectado não respondeu. in C:\AppServ\www\config.php on line 17

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 17

Fatal error: Maximum execution time of 60 seconds exceeded in C:\AppServ\www\config.php on line 19
12/29/2014 05:52 PowerChaos#19
Open port 3306

I can't read what it says but based on what I can read does it says port 3306 I'd not availbe

Greets from powerchaos
01/05/2015 12:48 idlemonkey#20
check to see if mysql is started ... and green ... if the service is not started you could get an error like this because the application isnt listening.
you dont have to open ports in your firewall to access localhost from localhost.