Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    340

    Default ODBC help

    Client is using MS Access 2003 as a front-end to a mysql server database. He is
    able to connect to mysql databases on my local server using ODBC wizard and
    selecting the MySQL ODBC 3.5.1 driver, but is not sure of the correct syntax to
    use to connect remotely to the server.

    What is the syntax to complete the fields in the MS Access ODBC connection
    wizard?

    Port 3306 is open via the firewall as well.

    The fields to be completed to make the connection are:
    Server:
    User:
    Password:

    I've tried the below (replaced my password and database names with example
    info)
    Server:
    http://username:mycPanelPwd@ipaddress



    I tried installing ODBC connector without success

    http://dev.mysql.com/downloads/conne...x86-32bit-rpms

    Code:
    root@server [~]# rpm -Uvh mysql-connector-odbc-setup-3.51.24-0.x86_64.rpm
    warning: mysql-connector-odbc-setup-3.51.24-0.x86_64.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
    error: Failed dependencies:
            libX11.so.6()(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libXcursor.so.1()(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libXext.so.6()(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libc.so.6()(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libc.so.6(GLIBC_2.2.5)(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libc.so.6(GLIBC_2.3)(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libdl.so.2()(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libdl.so.2(GLIBC_2.2.5)(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libgcc_s.so.1()(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libgcc_s.so.1(GCC_3.0)(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libm.so.6()(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libm.so.6(GLIBC_2.2.5)(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libodbcinst.so.1()(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libpthread.so.0()(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libstdc++.so.5()(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libstdc++.so.5(CXXABI_1.2)(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libstdc++.so.5(GLIBCPP_3.2)(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            libz.so.1()(64bit) is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
            mysqlodbcrpmpack is needed by mysql-connector-odbc-setup-3.51.24-0.x86_64
    Code:
    root@server [~]# rpm -Uvh mysql-connector-odbc-3.51.24-0.x86_64.rpm
    warning: mysql-connector-odbc-3.51.24-0.x86_64.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
    error: Failed dependencies:
            libc.so.6()(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libc.so.6(GLIBC_2.2.5)(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libc.so.6(GLIBC_2.3)(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libcrypt.so.1()(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libdl.so.2()(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libltdl.so.3()(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libm.so.6()(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libm.so.6(GLIBC_2.2.5)(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libnsl.so.1()(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libodbc.so.1()(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libodbcinst.so.1()(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libpthread.so.0()(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64
            libz.so.1()(64bit) is needed by mysql-connector-odbc-3.51.24-0.x86_64

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Did the user add the IP address (or a wildcard thereof) from which they are connecting as having access to the MySQL database via the cPanel interface?
    Last edited by cPanelDavidG; 04-10-2008 at 09:13 AM. Reason: Clarified which IP I was referring to.

  3. #3
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    It's been a long long time since I had to do this. However, once the MyODBC driver is installed, the user will need to setup a server configuration in the ODBC Manager in Windows. As you noted, he'll need to provide a username, password and the server name. The server name is the fully-qualified server name without the http:// portion. Also, as David stated, the user will need to add the IP Address he is connecting from to the Access Hosts for MySQL.

    As for more details, here are some links on doing this:

    http://dev.mysql.com/doc/refman/5.0/...crosoft-access
    http://www.ucl.ac.uk/is/mysql/access/
    http://servers.digitaldaze.com/exten...ql/access.html

  4. #4
    Member devilsoulblack's Avatar
    Join Date
    Mar 2007
    Posts
    14

    Default

    hi i have the same issues but i need install php_pdo_odbc any idea if cpanel support this ?
    Last edited by devilsoulblack; 04-23-2008 at 12:49 PM.
    Alfredo Andaluz Prado
    Ihostmarket "Advanced Hosting Solutions"
    IHM

Similar Threads & Tags
Similar threads

  1. odbc for connection
    By modom in forum cPanel and WHM Discussions
    Replies: 14
    Last Post: 05-03-2009, 06:19 PM
  2. ODBC questions
    By b0072k1 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 12-05-2005, 12:12 PM
  3. ODBC connection
    By go4kpo in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-16-2005, 03:42 AM
  4. ODBC - Mysql
    By dwykofka in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-02-2004, 08:05 AM
  5. connecting to mysql with ODBC
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-19-2003, 07:26 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube