Installing drupal from control panel
| Project: | Drupal |
| Version: | 5.0-beta1 |
| Component: | other |
| Category: | support request |
| Priority: | normal |
| Assigned: | srrpenna |
| Status: | closed |
Jump to:
Hai I am trying to install drupal 5 from control panel. what i did was I did update my setting php with all the information needed to acess database but i get this message when i tried to run install.php
It gives following message
Warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /misc/16/321/458/653/6/user/web/liverpool.drpenna.com/includes/database.mysql.inc on line 396
Warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /misc/16/321/458/653/6/user/web/liverpool.drpenna.com/includes/database.mysql.inc on line 396
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /misc/16/321/458/653/6/user/web/liverpool.drpenna.com/includes/database.mysql.inc on line 148
Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /misc/16/321/458/653/6/user/web/liverpool.drpenna.com/includes/database.mysql.inc on line 163
Warning: Cannot modify header information - headers already sent by (output started at /misc/16/321/458/653/6/user/web/liverpool.drpenna.com/includes/database.mysql.inc:396) in /misc/16/321/458/653/6/user/web/liverpool.drpenna.com/includes/common.inc on line 141
Warning: Cannot modify header information - headers already sent by (output started at /misc/16/321/458/653/6/user/web/liverpool.drpenna.com/includes/database.mysql.inc:396) in /misc/16/321/458/653/6/user/web/liverpool.drpenna.com/includes/common.inc on line 141
Unable to connect to database server
If you still have to install Drupal, proceed to the installation page.
If you have already finished installed Drupal, this either means that the username and password information in your settings.php file is incorrect or that we can't connect to the MySQL database server. This could mean your hosting provider's database server is down.
The MySQL error was: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).
Currently, the username is 3214586536 and the database server is localhost.
* Are you sure you have the correct username and password?
* Are you sure that you have typed the correct hostname?
* Are you sure that the database server is running?
For more help, see the Installation and upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.
Sreeram

#1
Let it replace the file with a your new Drupal install and use the new installer to configure the mysql database with the correct username, password, etc.
#2
If this is still an issue with D5 release code (currently 5.7), please re-open this request.
#3
Automatically closed -- issue fixed for two weeks with no activity.