On Wed Mar 14 2012 11:59, Norman Golisz wrote:
> Hi Uwe,
> 
> On Wed Mar 14 2012 17:53, Uwe Dippel wrote:
> > I have this unfortunate occurrence on one of my production machines:
> > "Database Error: Unable to connect to the database:Could not connect to 
> > MySQL"
> > I studied the Upgrade Guide 4.9 to 5.0 intensely before and after, but
> > can't find what went wrong. I just did the upgrade, and made the links
> > as proposed (so I hope)
> > 
> > # pwd
> > /etc/php-5.2
> > # ls -l
> > total 0
> > lrwxr-xr-x  1 root  wheel  26 Mar 14 17:26 gd.ini -> 
> > /etc/php-5.2.sample/gd.ini
> > lrwxr-xr-x  1 root  wheel  29 Mar 14 17:25 mysql.ini ->
> > /etc/php-5.2.sample/mysql.ini
> > 
> > # ls -l /var/www/conf/modules
> > total 0
> > lrwxr-xr-x  1 root  daemon  41 Mar 14 16:26 php.conf ->
> > /var/www/conf/modules.sample/php-5.2.conf
> > 
> > I also tried to copy the modified php.ini from /var/www/conf to 
> > /etc/php-5.2.ini
> > Then the result is:
> > "Database Error: Unable to connect to the database:The MySQL adapter
> > "mysql" is not available."
> 
> you need to create the directory /etc/php-5.2 and place equivalent symbolic 
> links
> to modules in /etc/php-5.2.sample as in /var/www/conf/php5.

sorry, I failed to read your post properly. I'm ashamed. You did follow these 
steps,
obviously.

However, did you change any values in php.ini from default?

Reply via email to