UnixServerAdmin

Server Administration & Management

Typo3 database error

The current username, password or host was not accepted when the connection to the database was attempted to be established!  If you are receiving error mentioned above after installing typo3, please follow the steps below.

1. Open the file typo3_src/t3lib/config_default.php

2. Find for ‘no_pconnect’ the default value set will be 0. Change the value for ‘no_pconnect’
to 1. This will look like

‘no_pconnect’ => 1

3. Save the file and exit.

mysql_pconnect will be disabled on servers for security reasons. By default, typo3 uses mysql_pconnect to connect to the database. Changing the value for no_pconnect to 1 will use mysql_connect to connect to the database.

Advertisements

April 11, 2011 Posted by | cPanel | , | 1 Comment