On Mon, Mar 8, 2010 at 9:07 PM, Jan <malepa...@googlemail.com> wrote:
> Hello all together,
>
> I installed PHP and MySQL on my box (running apache). When I try to install
> Joomla, the MySQL Database is recognized by the precheck of the install
> script. But when I try to connect to the database I get the following error
> msg:
>
> Unable to connect to the database: Could not connect to MySQL
>
> I'm a newbie using BSD. I tried really hard, but a simple mistake could be
> possible.
>
> I added the following 3 packets, installed MySQL and set the symbolic links:
> mysql-server-5.0.51ap1.tgz
> php5-core-5.2.6.tgz
> php5-mysqli-5.2.6.tgz
>
> I start mysql using the command:
> /usr/local/bin/mysqld_safe &
>
> I'm also able open the DB using "mysql -u root -p".

What happens when you try:

mysql -h localhost -u root -p

But as the error messages says - Joomla cannot connect to your database (mysql).

Have a look in /var/www/logs/ especially the error logs and also in
the error logs for
mysql - they should help resolve this issue.

hth

Fred

Reply via email to