[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-users] Setup
From: |
Mauricio |
Subject: |
[Phpgroupware-users] Setup |
Date: |
Mon, 14 Nov 2005 14:36:11 -0200 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050602) |
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] Setup,
Mauricio <=