Creating connection to Database Server: Failed!
Moderators: Amaradana, TurboPT, TL Developers
Creating connection to Database Server: Failed!
Bonjour, Hi
i'm french.
I have this error message and I do not know what to do ?
thanck
TestLink setup will now attempt to setup the database:
Creating connection to Database Server: Failed!
Please check the database login details and try again.
Database Error Message: Une tentative de connexion a échoué car le parti connecté n'a pas répondu convenablement au-delà d'une certaine durée ou une connexion établie a échoué car l'hôte de connexion n'a pas répondu.
i'm french.
I have this error message and I do not know what to do ?
thanck
TestLink setup will now attempt to setup the database:
Creating connection to Database Server: Failed!
Please check the database login details and try again.
Database Error Message: Une tentative de connexion a échoué car le parti connecté n'a pas répondu convenablement au-delà d'une certaine durée ou une connexion établie a échoué car l'hôte de connexion n'a pas répondu.
Re: Creating connection to Database Server: Failed!
English translation:
Is the database on a remote host? If so, is there any firewall blocking?A connection attempt failed because the connected party did not properly respond after a certain time, or established connection failed because connected host has not responded
Re: Creating connection to Database Server: Failed!
hi,
it's on a Virtual machine (vmware), no firewall on
on localhost, with minimum of config.
the last version of testlink and i've install easyPHP on my vm (with apache, etc...)
it's on a Virtual machine (vmware), no firewall on
on localhost, with minimum of config.
the last version of testlink and i've install easyPHP on my vm (with apache, etc...)
Re: Creating connection to Database Server: Failed!
I'm not sure how helpful I can be with the easyPHP...
Are all the various 'AMP' [apache, mysql, php] portions working properly?
... and what are the versions of each of those?
Are all the various 'AMP' [apache, mysql, php] portions working properly?
... and what are the versions of each of those?
Re: Creating connection to Database Server: Failed!
hello,
it's EasyPHP-5.3.3 =
php 5.3.3
apache 2.2.16
mysql 5.1.49
phpmyadmin : 3.3.5
all seems ok : Apache service and Mysql service are started
the database is already created manually with sql scripts (find in installation manual, because I could not do with automatic installation but at final it's the same error message)
What do you use instead easy php ?
I can install something else instead if it's free.
initially, I would just tested TESTLINK
thanks
it's EasyPHP-5.3.3 =
php 5.3.3
apache 2.2.16
mysql 5.1.49
phpmyadmin : 3.3.5
all seems ok : Apache service and Mysql service are started
the database is already created manually with sql scripts (find in installation manual, because I could not do with automatic installation but at final it's the same error message)
What do you use instead easy php ?
I can install something else instead if it's free.
initially, I would just tested TESTLINK
thanks
Re: Creating connection to Database Server: Failed!
TestLink will carry out a number of checks to see if everything's ready to start the setup.
System requirements Server Operating System (no constrains) WINNT
PHP version OK ( 5.2.0 [minimum version] <= 5.3.3 [your version] )
Web and PHP configuration
Maximum Session Idle Time before Timeout 24 minutes and 0 seconds - (Short. Consider to extend.)
Checking max. execution time (Parameter max_execution_time) OK (120 seconds)
Checking maximal allowed memory (Parameter memory_limit) OK (128 MegaBytes)
Checking if Register Globals is disabled OK
Checking MySQL Database OK
Checking Postgres Database Failed! Postgres Database cannot be used.
Checking GD Graphic library OK
Checking LDAP library Failed! LDAP library not enabled. LDAP authentication cannot be used. (default internal authentication will works).
Checking JSON library OK
Notice: Undefined variable: inst_type in C:\testlink\install\installCheck.php on line 46
Read/write permissions
Checking if C:\testlink\gui\templates_c directory exists OK
Checking if C:\testlink\gui\templates_c directory is writable OK
Checking if C:\testlink\logs directory exists OK
Checking if C:\testlink\logs directory is writable OK
Checking if C:\testlink\upload_area directory exists OK
Checking if C:\testlink\upload_area directory is writable OK
System requirements Server Operating System (no constrains) WINNT
PHP version OK ( 5.2.0 [minimum version] <= 5.3.3 [your version] )
Web and PHP configuration
Maximum Session Idle Time before Timeout 24 minutes and 0 seconds - (Short. Consider to extend.)
Checking max. execution time (Parameter max_execution_time) OK (120 seconds)
Checking maximal allowed memory (Parameter memory_limit) OK (128 MegaBytes)
Checking if Register Globals is disabled OK
Checking MySQL Database OK
Checking Postgres Database Failed! Postgres Database cannot be used.
Checking GD Graphic library OK
Checking LDAP library Failed! LDAP library not enabled. LDAP authentication cannot be used. (default internal authentication will works).
Checking JSON library OK
Notice: Undefined variable: inst_type in C:\testlink\install\installCheck.php on line 46
Read/write permissions
Checking if C:\testlink\gui\templates_c directory exists OK
Checking if C:\testlink\gui\templates_c directory is writable OK
Checking if C:\testlink\logs directory exists OK
Checking if C:\testlink\logs directory is writable OK
Checking if C:\testlink\upload_area directory exists OK
Checking if C:\testlink\upload_area directory is writable OK
Re: Creating connection to Database Server: Failed!
Hi !
I've solved the problem :
initially i've installed "testlink" in web local (
C:\Program Files\EasyPHP-5.3.3\www\
Root)
now i've created an alias :
testlink C:\testlink\
and now installation is successfull !
Thanks !
I've solved the problem :
initially i've installed "testlink" in web local (
C:\Program Files\EasyPHP-5.3.3\www\
Root)
now i've created an alias :
testlink C:\testlink\
and now installation is successfull !
Thanks !
-
- TestLink user
- Posts: 1
- Joined: Fri Sep 03, 2010 1:10 pm
Re: Creating connection to Database Server: Failed!
Hi,
I am also facing the same problem. Apache, mysql, and php are up and running. Even I am able to access testlink through http://localhost/testlink
but it throws the same error "Creating connection to Database Server: Failed!" (Database Error Message: Can't connect to MySQL server on 'localhost' (10061))
any help is really appreciated.
Thanks in advance.
Regards,
Seetaram
Sr. Testing Engineer
I am also facing the same problem. Apache, mysql, and php are up and running. Even I am able to access testlink through http://localhost/testlink
but it throws the same error "Creating connection to Database Server: Failed!" (Database Error Message: Can't connect to MySQL server on 'localhost' (10061))
any help is really appreciated.
Thanks in advance.
Regards,
Seetaram
Sr. Testing Engineer
Re: Creating connection to Database Server: Failed!
MYSQL says:
2. Double-check the entries in the config_db.inc.php file.
3. Ensure no firewall blocking. [if applicable]
Post again, if needed.
1. Ensure that the mysqld is present. [as specified above](10061) indicates that the network connection has been refused. You should check that there is a MySQL server running, that it has network connections enabled, and that the network port you specified is the one configured on the server.
Start by checking whether there is a process named mysqld running on your server host. (Use ps xa | grep mysqld on Unix or the Task Manager on Windows.) If there is no such process, you should start the server.
2. Double-check the entries in the config_db.inc.php file.
3. Ensure no firewall blocking. [if applicable]
Post again, if needed.
-
- TestLink user
- Posts: 1
- Joined: Thu May 19, 2011 5:26 am
Re: Creating connection to Database Server: Failed!
Hi all
I am new to use testlink. While setting up i got few errors like:
TestLink setup will now attempt to setup the database:
Creating connection to Database Server:Failed!
Please check the database login details and try again.
Database Error Message: Access denied for user 'root'@'localhost' (using password: YES)
My apache,MySql services are running and i used Xampp for these apache,MySql,PHP.
Help me out of this.
Thanks in advance.
I am new to use testlink. While setting up i got few errors like:
TestLink setup will now attempt to setup the database:
Creating connection to Database Server:Failed!
Please check the database login details and try again.
Database Error Message: Access denied for user 'root'@'localhost' (using password: YES)
My apache,MySql services are running and i used Xampp for these apache,MySql,PHP.
Help me out of this.
Thanks in advance.
Re: Creating connection to Database Server: Failed!
I also have issue when install in MacOSX Server Website. The error message is :
How can I solve this problem?TestLink setup will now attempt to setup the database:
Creating connection to Database Server:Failed!
Please check the database login details and try again.
Database Error Message: No such file or directory
Re: Creating connection to Database Server: Failed!
Same issue, on a Linux LAMP with 1.9.15
Re: Creating connection to Database Server: Failed!
Configuration issue. The DB returned error 2002 but the error message displayed is file not found which is misleading and threw me off track. Once I figured that I have a 2002 error, it was easy to find the issue. In my case I needed to make sure that the socket is defined in php.ini.