[Techtalk] Setting up Solaris/PHP/MySQL

Lynn Kuhlman lynn at eskimo.com
Fri Sep 17 11:12:13 EST 2004


I realize this isn't Linux but I thought maybe someone might
work with Solaris too.


I'm having troubles setting up Solaris 2.8 (or also
called 8.0) with PHP 5.0.1 and MySQL 4.0.20.

I can login into MySQL from the Windows client and add tables and rows.
The phpinfo() screen is working and it says that MySQL is installed.

The problem is that PHP and MySQL aren't working together. When I try
using mysql_connect() I get an error - Access denied for user:
'root at localhost' (Using password: YES). I'm not using root as a username
so I'm not sure why it says root at localhost.

I'm also trying to set up phpMyAdmin 2.5.7.-pl1 and I get this error:

#1045 - Access denied for user: 'theusername at domainname' (Using password:
YES). The php.ini file has the MySQL server domain defined for the
mysql_connect default field.

The username is set up with %, the anonymous users have been deleted from
the users table. The username is owned by the domain name that has PHP
installed on it. However, the sysadmin has the MySQL server installed on
one server and PHP and phpMyAdmin installed on another one. I think that
that maybe the problem but I'm not sure.

Does anyone have some suggestions?


More information about the Techtalk mailing list