Hi - just installed SMEServer 6.1 - created a database called 'cots' and uploaded my schema and data into it from a saved file (all create and insert statements only), created an ibay with the following characteristics:
Group: Everyone
User access: Write=group, read=group
Public access: Entire internet (no password required)
execution of dynamic conent: Enabled
I then copied my PHP pages over and immediately got:
Access denied for user: 'root@localhost' (Using password: YES)
when trying to access through my browser from another system on my intranet.
Other than the few tasks I have just mentioned I have done little else (changed the workgroup name for my windows network - that's about it).
The script I am running to access the mysql database looks like this:
$hostname_dbcnx = 'localhost';
$database_dbcnx = 'cots';
$username_dbcnx = 'root';
$password_dbcnx = '{the correct pw is here}';
$dbcnx = mysql_pconnect($hostname_dbcnx, $username_dbcnx, $password_dbcnx) or die(mysql_error());
And, yes, the correct password is specified.
I am trying to convert my in-house server from Win2000 and have spent the last 2 days and finally just gave up and re-installed but immediately hit this same problem.
Anyone have any ideas on how I can fix this without crippling phpmyadmin?