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

S PATEL s.patel at ulcc.ac.uk
Thu May 19 12:40:00 CEST 2011


If:
      IMPORTANT: THE MYSQL SERVER IS NOT INSTALLED LOCALLY.

is true, then you'd have to change the connect.php to make sure it's pointing to 
the correct host.

Else -- check permissions, a lot of your directory is owned by Root (user and group)

Sauj

On 19/05/2011 11:03, leonardo mesones wrote:
>
> 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. 		 	   		
> _______________________________________________
> TYPO3-install mailing list
> TYPO3-install at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-install


More information about the TYPO3-install mailing list