By elmsoft on
I'm trying to connect to an existing database while installing Drupal 6.
in my case, database name and username are the same
If I leave host as localhost I get the standard error:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2).
Then I used the server address as displayed in phpadmin - 79.99.43.20
I get no error but I get returned to the database info page with all the fields returned to blank.
No error message but no success either!
Can anyone help?
Thanks
Comments
Installing is easy !
I think Something is missing...
Have a look here http://drupal.org/node/325047.
"both file default.settings.php and settings.php must be present on the sites/default/ directory"
ReliabilityConsistencyFeedbackSpot on! When I copied the
Spot on!
When I copied the files across , there was only /default.settings.php but the only reference I found in the docs was to /settings.php
So I simply renamed the one to the other!! oops
I'll need to try and find why there is no setting.php in the first place !
But thanks for such a great insight!
This is really a strange
This is really a strange behaviour -> Reloading page DB settings without error messages...
Anyway now documentation in getting started Handbook clarifies that: (http://drupal.org/getting-started/6/install/set-permissions)
ReliabilityConsistencyFeedbackWow, doing another
Wow, doing another installation today and couldn't figured it out. That the default.settings.php file ALSO has to be there. Thanks
*****************************
Drupal Projects Homepage (English): www.grandmacarmen.com
Drupal Video Tutorials (Spanish) : www.drupalcarmen.com
Ditto!
I struggled with the same problem--finally found the solution HERE after much searching, thanks folks.
By the way, I also started getting the 'no error message' behavior after several several attempts, having to reload the information in the fields each time. Not sure if anyone has reproduced this, or figured out how horrible a bug it is, if at all....
WOW I wasted 2-3 hours on this
This is drupal instructions fault. It clearly says copy default.settings.php to settings.php. Copy, paste & rename would've been more helpful.