Hi,

I'm setuping up phpgw 0.9.16.008 on an ISP, but when I try to create the Admin account (preview steps were ok!) I get this error:

Database error: lock(Array, write) failed.
MySQL Error: 1044 (Access denied for user 'user'@'host' to database 'db')

Session halted.

Since appears that I don't have access to insert data, I made a test script (below) and it works fine!

I still thinking it's a configuration problem on ISP, because I had installed phpgw on my box several times without problems...

Any idea on what are happening or how to identify where's the problem?

Regards,
Mauricio.

<?php
$link = mysql_connect('host', 'user', 'pwd');
if (!$link) {
   die('Could not connect: ' . mysql_error());
}
echo 'Connected successfully!';

mysql_select_db('db') or die('Could not select database');

$sql = "INSERT INTO phpgw_acl(acl_appname,acl_location,acl_account,acl_rights) VALUES('a
ddressbook','run',0, 1)";

$result = mysql_query($sql) or die('Query failed: ' . mysql_error());
var_dump($result);

mysql_close($link);
?>


_______________________________________________
Phpgroupware-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-users

Reply via email to