LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-15-2010, 12:34 PM   #1
Eppo
Member
 
Registered: Feb 2007
Location: NY
Distribution: Arch, Ubuntu
Posts: 77

Rep: Reputation: 27
mysql queries


i have a mysql database set up. 1 table, with 3 columns.
i want to be able to pull(link) this table to a table on an ODBC connection. this is on a windows pc, i couldn't get odbc drivers for the KB_sql server for linux/unix.
what command would i use to populate my database with the info from this other remote database?
thanks
 
Old 07-15-2010, 04:39 PM   #2
theDaveMyers
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Rep: Reputation: 0
ODBC

Eppo,

I have been able to get an effective ODBC connection on a Vista system to communicate with a MySQL DB on a linux instal (Ubuntu).

You need to ensure you are able to 'see' the DBserver and have the my.ini set correctly to allow connections from other server (or it won't work). I don't have the docs to hand, and I can't remember the line you need to edit / add to the my.ini off hand.

Also the other thing to try, to confirm you can access the MySQL DB, is to install MySQL Query browser. This will not require an ODBC to connect to the DB.

If you have MySQL Query Browser installed and you still can't connect you may have an issue with your user setup.

MySQL has a similar way of thinking as linux regarding user names and permissions. You then need to add in the added complication of needing to give a user the permission to access the DB from somewhere that isn't the local machine.

the above should lead you in the direction of solving your problems...If you continue to have struggle however drop a message back to the forum.

David
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql queries Eppo Linux - Software 3 07-13-2010 11:17 AM
Log slow queries mysql a4kata Linux - Newbie 1 09-10-2009 07:14 AM
Strange Postfix queries on mySQL frank09 Ubuntu 1 01-07-2009 07:36 PM
how can format the data from the queries in mysql? isamuede Linux - Server 1 08-01-2008 02:38 AM
Printing incoming MySQL queries? spaaarky21 Linux - Software 2 05-03-2007 05:44 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration