[drupal-support] New to CVS, database connection issues

Earl Miles merlin at logrus.com
Tue Oct 18 14:49:08 UTC 2005


Thatguywhowon'tgivehisname wrote:
> I decided to try to use the CVS version of Drupal on a
> new site I am working on.  I am using 4.3, 4.4 and 4.5
> on other sites but this is my first foray into CVS and
> I am eager to learn.
> 
> I wget'ted the cvs tarball and extracted it using my
> normal tar vxfz.  I then tried two things:  
> 
> 1- I created a directory under the sites directory
> with the domain name and copied the settings.php from
> the sites/default directory there and modified the
> database connect string and the base url.  I get the
> fancy, new "Unable to connect to database server"
> screen with this information-  The MySQL error was: . 
> Notice the dot after the colon.  That is not a period
> at the end of my sentence.  
> 
> 2- I then changed the settings.php file in
> sites/default to my database information and base url.
>  Same result.
> 
> If I modify my Apache virtual host directives for this
> site to point to the directories for an existing 4.6.3
> setup everything works fine.  It is only when I use
> the cvs directories that it fails.
> 
> I know that it is using the settings.php because the
> portion of the error screen that says "Currently, the
> username is root and the database server is localhost"
>  changes when I change the username in the
> settings.php file.
> 
> I must be doing something wrong.  What am I missing?

Did you run the update.php script to update your database?




More information about the drupal-support mailing list