[TYPO3-install] FW: Problem: Could not connect to SQL database!

leonardo mesones r.mesones at hotmail.com
Thu May 19 13:10:00 CEST 2011


The problem is solved.

 Thanks anyway,
Leonardo.

From: r.mesones at hotmail.com
To: typo3-install at lists.typo3.org
Subject: FW: Problem: Could not connect to SQL database!
Date: Thu, 19 May 2011 07:42:45 -0300








Hi, attach information about phpinfo()

### DEBUG SYSTEM INFORMATION - START ###
HTTP_HOST           : www.redunidadesdeigualdad.udl.cat
TYPO3_HOST_ONLY     : www.redunidadesdeigualdad.udl.cat
TYPO3_PORT          : 
PATH_INFO           : 
QUERY_STRING        : TYPO3_INSTALL[type]=phpinfo
REQUEST_URI         : /typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
HTTP_REFERER        : http://www.redunidadesdeigualdad.udl.cat/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_REQUEST_HOST  : http://www.redunidadesdeigualdad.udl.cat
TYPO3_REQUEST_URL   : http://www.redunidadesdeigualdad.udl.cat/typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_REQUEST_SCRIPT: http://www.redunidadesdeigualdad.udl.cat/typo3/install/index.php
TYPO3_REQUEST_DIR   : http://www.redunidadesdeigualdad.udl.cat/typo3/install/
TYPO3_SITE_URL      : http://www.redunidadesdeigualdad.udl.cat/
TYPO3_SITE_SCRIPT   : typo3/install/index.php?TYPO3_INSTALL[type]=phpinfo
TYPO3_SSL           : 
TYPO3_REV_PROXY     : 
SCRIPT_NAME         : /typo3/install/index.php
TYPO3_DOCUMENT_ROOT : /var/www/redunidadesdeigualdad.udl.cat
SCRIPT_FILENAME     : /var/www/redunidadesdeigualdad.udl.cat/typo3/install/index.php
REMOTE_ADDR         : 172.22.0.1
REMOTE_HOST         : 
HTTP_USER_AGENT     : Mozilla/5.0 (Windows; U; Windows NT 5.1; ca; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17 ( .NET CLR 3.5.30729)
HTTP_ACCEPT_LANGUAGE: ca,en-us;q=0.7,en;q=0.3
CONST: PHP_OS       : Linux
CONST: TYPO3_OS     : 
CONST: PATH_thisScri: /var/www/redunidadesdeigualdad.udl.cat/typo3/install/index.php
CONST: php_sapi_name: apache2handler
OTHER: TYPO3_VERSION: 4.5.2
OTHER: PHP_VERSION  : 5.3.6
imagecreatefromgif(): 1
imagecreatefrompng(): 1
imagecreatefromjpeg(: 1
imagegif()          : 1
imagepng()          : 1
imagejpeg()         : 1
imagettftext()      : 1
OTHER: IMAGE_TYPES  : 31
OTHER: memory_limit : 128M
SERVER: SERVER_PORT : 80
SERVER: SERVER_SOFTW: Apache

Thanks,
Leonardo Mesones
From: r.mesones at hotmail.com
To: typo3-install at lists.typo3.org
Subject: Problem: Could not connect to SQL database!
Date: Thu, 19 May 2011 07:03:00 -0300








Hi, I have a problem making the installation of typo3.
When I connect to the database gives an error: Could not connect to SQL database!
The installed programs are:

- mysql  Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (x86_64) using readline 5.1
   IMPORTANT: THE MYSQL SERVER IS NOT INSTALLED LOCALLY.  

- PHP 5.3.6 (cli) (built: Mar 17 2011 19:14:03)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

- Server version: Apache/2.2.3

- typo3 4.5.2 introduction package

- Linux: CentOS release 5.5 (Final)

I use apache virtual hosting. One of the configured hosts I had installed Joomla and it works ok.

Configuration of directories in linux:
/var/www/cdp.udl.cat  (is the website that works ok. -> www.cdp.udl.cat)
/var/www/redunidadesdeigualdad.udl.cat  (here I have installed typo3 -> www.redunidadesdeigualdad.udl.cat)         

The following is a screenshot of the web root

-rw-r--r--  1 root root   772659 Feb 26 00:21 ChangeLog
-rw-r--r--  1 root root       46 Feb 26 00:21 clear.gif
drwxrwxr-x  4 root apache   4096 May 19 10:04 fileadmin
-rw-r--r--  1 root root    18007 Feb 26 00:21 GPL.txt
-rw-r--r--  1 root root     4599 Feb 26 00:21 _.htaccess
lrwxrwxrwx  1 root root       19 Apr 21 19:58 index.php -> typo3_src/index.php
-rw-r--r--  1 root root     8159 Feb 26 00:21 INSTALL.txt
-rw-r--r--  1 root root      849 Feb 26 00:21 LICENSE.txt
-rw-r--r--  1 root root    28633 Feb 26 00:21 NEWS.txt
-rw-r--r--  1 root root     8558 Feb 26 00:21 README.txt
-rw-r--r--  1 root root      241 Feb 26 00:21 RELEASE_NOTES.txt
lrwxrwxrwx  1 root root       15 Apr 21 19:58 t3lib -> typo3_src/t3lib
lrwxrwxrwx  1 root root       15 Apr 21 19:58 typo3 -> typo3_src/typo3
drwxrwxr-x  4 root apache   4096 May 19 10:04 typo3conf
lrwxrwxrwx  1 root root       35 Apr 21 19:57 typo3_src -> /var/www/introductionpackage-4.5.2/
drwxrwxr-x 10 root apache   4096 May 19 10:04 typo3temp
drwxrwxr-x  5 root apache   4096 May 19 10:04 uploads

Also create a file called connect.php with the intention of testing in different directories that could make the connection and it worked ok.
I hope you can help me.

Thanks in advance,
Leonardo Mesones. 		 	   		  


More information about the TYPO3-install mailing list