Php SugarCRM-数据库创建错误

Php SugarCRM-数据库创建错误,php,sugarcrm,Php,Sugarcrm,你好!我正在尝试将SugarCRM安装到我的计算机上(典型的安装-首次用户),收到下面提到的错误 警告:mysqli_connect():(HY000/1044):用户“@'localhost”对第278行C:\xampp\htdocs\sugarcrm\SugarCE-Full-6.5.22\include\database\MysqliManager.php中数据库“sugarcrm”的访问被拒绝 无法连接到数据库。有关详细信息,请参阅sugarcrm.log 我尝试过寻找几种解决方案,但没

你好!我正在尝试将SugarCRM安装到我的计算机上(典型的安装-首次用户),收到下面提到的错误

警告:mysqli_connect():(HY000/1044):用户“@'localhost”对第278行C:\xampp\htdocs\sugarcrm\SugarCE-Full-6.5.22\include\database\MysqliManager.php中数据库“sugarcrm”的访问被拒绝 无法连接到数据库。有关详细信息,请参阅sugarcrm.log

我尝试过寻找几种解决方案,但没有一种能真正帮助我解决错误。对错误的解释和可能的解决方案将不胜感激

数据库要求

For MySQL, install version 5.0 or 5.1 to use with Sugar 6.5
For Microsoft SQL Server, download the SQL Server Driver for PHP version 3.0 (as per the instructions on the Microsoft website) and extract the contents to the /ext directory of the PHP installation
请按照以下链接正确安装,并请检查版本

数据库要求

For MySQL, install version 5.0 or 5.1 to use with Sugar 6.5
For Microsoft SQL Server, download the SQL Server Driver for PHP version 3.0 (as per the instructions on the Microsoft website) and extract the contents to the /ext directory of the PHP installation
请按照以下链接正确安装,并请检查版本


看来您没有为数据库连接设置用户名。我设置了!正如sugar所建议的,它只是“admin”:(很显然,它没有正确保存。MySQL错误很明显,当它说用户“”@'localhost'的访问被拒绝时,主机被设置为localhost,但用户只是一个空字符串。因此它在config.I中没有正确设置"我现在很迷茫,我的坏朋友,我对db很陌生,对sugar本身也很了解。那么我应该检查我的sugar配置吗?还是xampp配置本身?你应该检查你的sugar配置。在默认的xampp安装中,你应该能够以用户
root
的身份登录。看起来你没有为数据库连接设置用户名。我设置了!并且sugar建议,它只是'admin':(很明显,它没有正确保存。MySQL错误很明显,当它说用户''@'localhost'的访问被拒绝时,主机被设置为localhost,但用户只是一个空字符串。因此它在config.I中没有正确设置“我现在太迷路了,我的坏朋友,我对db很陌生,对sugar本身也很了解。那么我应该检查我的sugar配置吗?还是xampp配置本身?你应该检查你的sugar配置。在默认的xampp安装中,你应该能够以用户
root
的身份登录。