Answer the question
In order to leave comments, you need to log in
Why did mysql connection stop working in denver?
I installed the extension to work with https and now when I try to execute this code:
$dblocation = 'localhost';
$db = 'general';
$login = 'root';
$password = '';
if(!mysql_connect($dblocation,$login,$password)){
echo 'Truble #1';
} elseif (!mysql_select_db($db)) {
echo 'Truble #2';
}
Warning: mysql_connect() [function.mysql-connect]: [2002] Попытка установить соединение была безуспешной, т.к. от другого (trying to connect via tcp://localhost:3306) in V:\home\test1.ru\www\comon\base.php on line 7
Warning: mysql_connect() [function.mysql-connect]: Попытка установить соединение была безуспешной, т.к. от другого компьютера за требуемое время не получен нужный отклик, или было разорвано уже установленное соединение из-за неверного отклика уже подключенного компьютера. in V:\home\test1.ru\www\comon\base.php on line 7
Answer the question
In order to leave comments, you need to log in
I do not recommend using Denver, it is better to install openserver.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question