Results 1 to 2 of 2

Thread: SugarCE +linux + xampp 无法连接数据库问题

  1. #1
    hfhuang1224 is offline Junior Member
    Join Date
    Jun 2011
    Posts
    2

    Default SugarCE +linux + xampp 无法连接数据库问题

    软件版本: SugarCE-6.2.0RC1.zip
    环境:debain6.01
    配置: xampp-linux-1.7.4.tar.gz

    错误
    ================================================== ===================
    Strict Standards: Declaration of SugarEmailAddress::save() should be compatible with that of SugarBean::save() in /opt/lampp/htdocs/SugarCE/include/SugarEmailAddress/SugarEmailAddress.php on line 949

    Strict Standards: Declaration of Person::retrieve() should be compatible with that of SugarBean::retrieve() in /opt/lampp/htdocs/SugarCE/include/SugarObjects/templates/person/Person.php on line 43

    Strict Standards: Declaration of User::retrieve() should be compatible with that of Person::retrieve() in /opt/lampp/htdocs/SugarCE/modules/Users/User.php on line 50

    Strict Standards: Declaration of User::save_relationship_changes() should be compatible with that of SugarBean::save_relationship_changes() in /opt/lampp/htdocs/SugarCE/modules/Users/User.php on line 50

    Strict Standards: Declaration of User::list_view_parse_additional_sections() should be compatible with that of SugarBean::list_view_parse_additional_sections() in /opt/lampp/htdocs/SugarCE/modules/Users/User.php on line 50

    Strict Standards: Declaration of Currency::retrieve() should be compatible with that of SugarBean::retrieve() in /opt/lampp/htdocs/SugarCE/modules/Currencies/Currency.php on line 236

    Strict Standards: Non-static method SugarConfig::getInstance() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/SugarCE/include/SugarLogger/LoggerManager.php on line 77

    Strict Standards: Non-static method SugarConfig::getInstance() should not be called statically, assuming $this from incompatible context in /opt/lampp/htdocs/SugarCE/include/SugarLogger/SugarLogger.php on line 111
    Please fix the following errors before proceeding:

    The provided database host, username, and/or password is invalid, and a connection to the database could not be established. Please enter a valid host, username and password. 1130: Host 'miisi.local' is not allowed to connect to this MySQL server).

    Strict Standards: Non-static method LogicHook::initialize() should not be called statically in /opt/lampp/htdocs/SugarCE/include/utils.php on line 2602
    * Required field
    Provide Database Name

    ================================================== ===================
    因为其他软件也是放在lampp/htdos下,并且也配置成功。 但是不知道为什么sugarCE就不可以?
    之前都是用win2003做服务器,没有遇到这样的问题?请哪位高人告知怎样去修复这个问题?
    我的mysql是与其他软件公用的,并且我也试过单独的安装sugar但是也无效。

    root@miisi:/opt/lampp# netstat -ln | grep mysql
    unix 2 [ ACC ] STREAM LISTENING 23638 /opt/lampp/var/mysql/mysql.sock
    root@miisi:/opt/lampp# mysql --version
    mysql Ver 14.14 Distrib 5.5.8, for Linux (i686) using EditLine wrapper
    Last edited by hfhuang1224; 2011-06-20 at 08:34 AM.

  2. #2
    hfhuang1224 is offline Junior Member
    Join Date
    Jun 2011
    Posts
    2

    Default Re: SugarCE +linux + xampp 无法连接数据库问题

    我找到原因了。因为在 db_host_name它自动填写的是服务器的IP地址,而不是localhost。 从而导致无法创建数据库

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 2010-09-27, 02:19 AM
  2. 请问下数据库安装的问题~~
    By morley in forum Chinese
    Replies: 4
    Last Post: 2010-03-01, 04:20 AM
  3. 请教sugarcrm数据库问题
    By zach.h in forum Chinese
    Replies: 6
    Last Post: 2009-08-24, 06:34 AM
  4. Replies: 11
    Last Post: 2009-08-10, 05:14 AM
  5. 无法显示标签,获取数据库表信息失败
    By zhudansheng in forum Chinese
    Replies: 2
    Last Post: 2009-02-18, 06:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •