+ Reply to Thread
Results 1 to 3 of 3

Problems connecting to MySQL Database

  1. #1
    Registered User
    Join Date
    06-13-2011
    Location
    Neston, England
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    38

    Problems connecting to MySQL Database

    Hi Some help on this issue would be much appreciated as I am banging my head against a brick wall and I must be missing something

    First of all I am running XAMPP as my server with MySQL version 5.6.2

    •Server: 127.0.0.1 via TCP/IP
    •Server type: MySQL
    •Server version: 5.6.20 - MySQL Community Server (GPL)
    •Protocol version: 10
    •User: root@localhost
    • Server charset: UTF-8 Unicode (utf8)

    The database is running as this is grabbed from phpMyAdmin

    I have installed the latest Oracle ODBC Drivers for MySQL to my system. I am running windows 8.1 on a 64bit system (I am aware there are some issues for 64 bit systems and I have followed the guidance for that from this URL.

    https://www.connectionstrings.com/my...ctor-odbc-5-2/

    My connection string is as follows:-

    Please Login or Register  to view this content.

    I can connect to this database in the Excel page by connecting a data source so I know the database is reachable via excel and van view the tables.

    I am running office 2013. Therefore Excel 2013

    What am I missing I am constantly getting this error. Sorry its a pic but can't grab the text

    Capture.JPG

    Any help much appreciated

    Thanks

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Problems connecting to MySQL Database

    If you can create a manual connection, what do the properties for that look like?
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    06-13-2011
    Location
    Neston, England
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    38

    Re: Problems connecting to MySQL Database

    The properties are exactly as I have them. I have temporarily fixed this by just setting the connection to my DSN which I set up in admin tools

    Please Login or Register  to view this content.
    This is not the ideal solution as I would like it to be stand alone (I know they had to have the drivers, but don't want top be messing with admin tools to set up a DSN.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Connecting Excel to MySQL db through VBA
    By JezLisle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2014, 05:11 PM
  2. Problems uploading CSV to mySQL database
    By andrew_long15 in forum Excel General
    Replies: 0
    Last Post: 05-17-2013, 01:02 AM
  3. Thoughts about connecting excel to oracle/mysql through .NET?
    By wills in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-08-2010, 12:50 PM
  4. Excel as a database, VBA, MySQL
    By gdubf in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-31-2009, 01:39 AM
  5. Mysql database
    By datbenik in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-02-2005, 04:17 PM

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1