Results 1 to 6 of 6

Thread: ODBC connection problem to MySql with Bitnami

  1. #1
    johnprogers is offline Member
    Join Date
    May 2010
    Posts
    5

    Default ODBC connection problem to MySql with Bitnami

    Hello
    Can anyone assist me to setup an ODBC connection between Access and SugarCRM. All the posts I have viewed seem to have something missing.
    I have setup and am using Sugar 5.5.1 on a virtual appliance provided by Bitnami. I have opened the mysql port in the ubantu firewall so that a connection can be made.
    On my XP pro machine I have installed the MySQL ODBC Driver. When I configure the driver i specify the IP address of the virtual machine.
    I then need the username and password for the odbc connection, I believe this is root and bitnami, but the bitnami documentation is not to clear on the username.
    The database dropdown does not show the availiable databases and after a while I get an error message saying ' Connection failed: [HY000] [MySQL] [ODBC 5.1 Driver] Cannot connect to MySQL server xxx.xxx.xxx.xxx'

    Where can I find out why the connection fails. Has anyone got a similar setup?

    Thanks

    john

  2. #2
    johnprogers is offline Member
    Join Date
    May 2010
    Posts
    5

    Default Re: ODBC connection problem to MySql with Bitnami

    OK, I have got a bit further, after playing with the firewall rules and restarting the vm, I now get the message that my 'host xxx.xxx.xxx.xxx is not allowed to connect to this SQL server.
    Any further input gratefully accepted.

  3. #3
    logicasrl is offline Senior Member
    Join Date
    Sep 2009
    Location
    Italy, not so far from Venice
    Posts
    51

    Wink Re: ODBC connection problem to MySql with Bitnami

    Hi John,

    take a look to this thread:
    http://www.sugarcrm.com/forums/showthread.php?t=60169

    At the end you will find the solution to your problem

    In any case you should execute something similar to the following instructions (from a console terminal of your Linux system):
    # /opt/sugarcrm-5.2.0k/mysql/bin/mysql --socket=/opt/sugarcrm-5.2.0k/mysql/tmp/mysql.sock –u root –p
    mysql> use mysql;
    mysql> GRANT ALL ON sugarcrm.* TO 'root'@'%' IDENTIFIED BY '<root password>';
    mysql> FLUSH PRIVILEGES;
    mysql> quit

    Hope this could help you...

    Bye
    Luca

  4. #4
    johnprogers is offline Member
    Join Date
    May 2010
    Posts
    5

    Default Re: ODBC connection problem to MySql with Bitnami

    Thanks for your reply. I am sure that if I could find the actual location of the mysql installation on the VM that this would work. I have navigated into every directory I can find and cannot find the location of MySQL. Is there a command that will tell me where it is?

    John

  5. #5
    johnprogers is offline Member
    Join Date
    May 2010
    Posts
    5

    Default Re: ODBC connection problem to MySql with Bitnami

    I think I have found the correct location, indeed I ahve been able to run the commands given by using /opt/bitnami/mysql etc. I have got a working connection in the ODBC driver setup, but in the database drop down I only see two entries. The first is Information_Shema and the second is TEST. The TEST entry contains no tables at all and the Information_Schema contains the database description but no actual data tables.
    I was expecting to find a database called 'sugarcrm', but this does not seem to be visible. Is it hidden or have I misunderstood?

    John

  6. #6
    logicasrl is offline Senior Member
    Join Date
    Sep 2009
    Location
    Italy, not so far from Venice
    Posts
    51

    Question Re: ODBC connection problem to MySql with Bitnami

    Unfortunately I do not know Bitnami... I think of having no more ideas about how to solve the "disappeared" "sugarcrm" DB problem...
    Good luck,
    Luca


    Quote Originally Posted by johnprogers View Post
    I think I have found the correct location, indeed I ahve been able to run the commands given by using /opt/bitnami/mysql etc. I have got a working connection in the ODBC driver setup, but in the database drop down I only see two entries. The first is Information_Shema and the second is TEST. The TEST entry contains no tables at all and the Information_Schema contains the database description but no actual data tables.
    I was expecting to find a database called 'sugarcrm', but this does not seem to be visible. Is it hidden or have I misunderstood?

    John

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Lien Odbc MySql / SugarCrm
    By AxelOsckowski in forum Français
    Replies: 1
    Last Post: 2009-02-07, 05:10 AM
  2. Replies: 3
    Last Post: 2008-12-27, 04:51 PM
  3. ODBC connection using PHP code
    By hytechpro in forum Project Management
    Replies: 0
    Last Post: 2005-11-30, 03:33 AM
  4. Problem with Mysql connection...
    By Marios in forum General Discussion
    Replies: 2
    Last Post: 2005-10-06, 12:37 PM
  5. Many mysql connection opened !
    By johnwoo in forum Help
    Replies: 2
    Last Post: 2005-08-24, 01:57 AM

Tags for this Thread

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
  •