Results 1 to 3 of 3

Thread: Installation Problem with MySQL

  1. #1
    neptun_ is offline Junior Member
    Join Date
    Feb 2006
    Posts
    3

    Default Installation Problem with MySQL

    Hi,

    I am trying to install SugarCRM.
    At the "Step 2: System Check Acceptance", I have the following line in red:
    "MySQL Database Not Available".
    The others are OK, green.
    I don't understand why MySQL is not available?
    The service is started, I can use the database... I use the version 5. I have tried with 4, but the problem persist.
    Can you help me please on this problem?

    Thanks

  2. #2
    sanjaykatiyar1's Avatar
    sanjaykatiyar1 is offline Sugar Community Member
    Join Date
    Feb 2006
    Location
    Bangalore
    Posts
    600

    Default Re: Installation Problem with MySQL

    [QUOTE=neptun_]Hi,

    I am trying to install SugarCRM.
    At the "Step 2: System Check Acceptance", I have the following line in red:
    "MySQL Database Not Available".
    The others are OK, green.
    I don't understand why MySQL is not available?
    The service is started, I can use the database... I use the version 5. I have tried with 4, but the problem persist.

    *******************************************
    Check your php is compiled with mysql.

    Run phpinfo file and see the output and verify your mysql installtion with the output

    (make one file say phpinfo.php and put one line
    phpinfo();

    )

  3. #3
    blex2005's Avatar
    blex2005 is offline Sugar Community Member
    Join Date
    Aug 2004
    Posts
    101

    Default Re: Installation Problem with MySQL

    Are you running on Windows or Linux? Could there be a permission issue? Are you able to connect to mysql from another php program?

    try something like this (obviously replace upper case with your system info):
    <?php
    $link = mysql_connect('SERVERNAME', 'MYSQL_USERNAME', 'MYSQL_PASSWORD');
    if (!$link) {
    die('Could not connect: ' . mysql_error());
    }
    echo 'Connected successfully';
    mysql_close($link);
    ?>

    If this works, then php is probably set up correctly.
    Do you have children? Want to enjoy and support them more?
    Check out Family Matters from Weiner Family Studios.
    Or follow us on twitter @weinerfamily.



    Scott Weiner
    CRM Consultant
    BrokerSuite, LLC
    SugarCRM Business Partner

    sweiner@brokersuite.com
    "Customized CRM solutions"
    www.blueriverassociates.com
    www.brokersuite.com




Thread Information

Users Browsing this Thread

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

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
  •