sonia hamilton – life on the digital bikepath – sonia@snowfrog.net

16 November 2005

Connect to MySQL across network using MS Access

Filed under: MySQL — Sonia @ 16:51
  • comment out line in /etc/mysql/my.cnf that reads:
     bind-address = 127.0.0.1
     mysql> use mysql;
     mysql> select Host, User, Password from user;
     mysql> update user set host='%' where user = 'root';
     mysql> q
    • restart
    
     $ /etc/init.d/mysql restart
    • install/configure odbc on server
     $ aptitude install libmyodbc
    • configure Access on client
      • download/install MyODBC
      • create a new database (not a project)
      • File, Get External Data, Link Tables, ODBC Databases
      • Create a MyODBC DSN
  • 3 Comments »

    1. Good Info.

      Comment by Jeelan — 11 March 2008 @ 23:07

    2. Good.
      I did the same… more or less.
      The only difference is that I created a new user named ODBC with access from host % and full access.

      I create the ODBC connection in Windows, use it in MS Access and it actually READS the tables, but I can’t update anything.

      What’s wrong?

      Thanks to anyone who can help me

      Comment by Lorenzo — 30 June 2009 @ 21:22

      • It still could be permissions – check my other post MySQL Security – there’s some gotcha’s.

        Comment by Sonia — 1 July 2009 @ 10:19


    RSS feed for comments on this post. TrackBack URI

    Leave a comment

    Blog at WordPress.com.