+ Reply to Thread
Results 1 to 12 of 12

Connecting MySQL to EXCEL

  1. #1
    Registered User
    Join Date
    09-08-2015
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    38

    Connecting MySQL to EXCEL

    Hello community,

    I downloaded MySQL for Excel addon, now I wanna connect MySQL from excel, I'm using Cpanel Hosting, but I don't know what info should I use to connect.

    Connection name = ?
    Hostname = ?
    Port = ?
    Username = ?
    Password = ?
    Default scheme = ?

    Please help

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Connecting MySQL to EXCEL

    I haven't used MySQL too much but, generally -

    Connection name = Name Of The Connection
    Hostname = Server Name
    Port = If its on a local machine, it should be 3306 (Not Sure)
    Username = Username
    Password = Password For the Username
    Default scheme = Database

    You can also check out Excel Lesson 31 - Retrieve Data From MySQL Database Using MS Query on this link

    http://www.needforexcel.com/#!videos/c10fk

    Its a different technique, but may help..

    You can also connect it using ADO..

    http://www.needforexcel.com/#!Using-...f2de902a798bd8

    The connection string will change. You can find the connection string here http://www.connectionstrings.com/mysql/
    Last edited by NeedForExcel; 10-12-2015 at 12:03 AM.
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    09-08-2015
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    38

    Re: Connecting MySQL to EXCEL

    Hey mate, I wanna know what is name of connection? database name ? or any name?
    host name and port? I'm using Cpanel, can I add domain name? how can I see my port name?
    username and password for database or to server?

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Connecting MySQL to EXCEL

    Can you tell me what Exactly you want to do after connecting to MySQL?

    Do you just want to get data from a Table, or what exactly?

  5. #5
    Registered User
    Join Date
    09-08-2015
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    38

    Re: Connecting MySQL to EXCEL

    Hi, I need import and export data from MySQL

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Connecting MySQL to EXCEL

    Then why not use an Excel Plug-in which MySQL Offers?

    https://www.mysql.com/why-mysql/windows/excel/

    I'v use it in the past, and it is pretty neat.

  7. #7
    Registered User
    Join Date
    09-08-2015
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    38

    Re: Connecting MySQL to EXCEL

    Hi,im using same plugin , but i dont know how to make new connection.If you use that plugin please help me.

  8. #8
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,879

    Re: Connecting MySQL to EXCEL

    Alright, If possible, I'll go home and send you the steps or record a small video on how to do it..

  9. #9
    Registered User
    Join Date
    09-08-2015
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    38

    Re: Connecting MySQL to EXCEL

    Thank you very much!

  10. #10
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Connecting MySQL to EXCEL

    This isn't an excel question, have you worked through this? http://support.hostgator.com/article...abase-remotely

  11. #11
    Registered User
    Join Date
    09-08-2015
    Location
    Baku
    MS-Off Ver
    2016
    Posts
    38

    Re: Connecting MySQL to EXCEL

    Ihave asked how to connect MySQL from Excel and it is Excel question, I need to connect with Excel add-in

  12. #12
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Connecting MySQL to EXCEL

    You're asking how to get the connection string / properties for a hosted database, this is the same whether you're connecting through excel, php, .net etc the video I posted tells you how to get all that

+ 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. Problems connecting to MySQL Database
    By Wongadob in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-27-2014, 12:25 PM
  2. Excel to MySql
    By surajitbose in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-24-2014, 03:30 AM
  3. 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
  4. VBA excel, MySQL DB
    By murugavelmsc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-03-2012, 09:23 AM
  5. 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
  6. Please Help Me !!! Excel + VB 6 + MySQL
    By Marius in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2007, 05:30 AM
  7. [SOLVED] MySQL and excel
    By bawar in forum Excel General
    Replies: 1
    Last Post: 01-09-2005, 04:06 PM

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