LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-26-2004, 12:03 PM   #1
patpawlowski
Member
 
Registered: Mar 2003
Location: Centreville, Virginia
Distribution: Mandrak, Red Hat
Posts: 163

Rep: Reputation: 30
Programing language to access MySQL


Our web page is currently designed using the php-MySQL-Apache trio and I would like to begin working on an application that accesses the MySQL database directly. I am not exactly proficient in any language but have been administering a MS Access database for years. I am rather familiar with MS VBA. Any ideas on what direction I should take? Would Python be a good choice?
 
Old 01-26-2004, 12:26 PM   #2
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
http://www.rekallrevealed.org/ might be worth looking into
 
Old 01-26-2004, 02:31 PM   #3
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
Quote:
I would like to begin working on an application that accesses the MySQL database directly
As in a standalone local application? In that case you can use any language you want.
 
Old 01-26-2004, 02:54 PM   #4
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
Well, you said you had PHP on there already, and that does a fine job of accessing MySQL (well, as fine as PHP does anything). Python would work just fine as well, of course. Perhaps a little more detail on what sort of application you are talking about will help us help you.
 
Old 01-26-2004, 02:58 PM   #5
patpawlowski
Member
 
Registered: Mar 2003
Location: Centreville, Virginia
Distribution: Mandrak, Red Hat
Posts: 163

Original Poster
Rep: Reputation: 30
I was hoping to build a POS type front end. Something that we could run on a linux box to take orders. Basically the same as our online shopping cart but from a stand alone app.
 
Old 01-26-2004, 03:40 PM   #6
Strike
Member
 
Registered: Jun 2001
Location: Houston, TX, USA
Distribution: Debian
Posts: 569

Rep: Reputation: 31
For a standalone app, Python would do fine. PHP might do fine as well if you already know it, but I've never done PHP for anything but web stuff.
 
Old 01-26-2004, 03:44 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
basically your choice of using mysql is irrelevant, there are plenty more important considerations to take into account, like HCI issues... graphical toolkits, hardware interaction... mysql is the least of your concerns
 
Old 01-26-2004, 04:16 PM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can even use MS Access as a front end to connect to a mysql database.
 
Old 01-26-2004, 09:31 PM   #9
patpawlowski
Member
 
Registered: Mar 2003
Location: Centreville, Virginia
Distribution: Mandrak, Red Hat
Posts: 163

Original Poster
Rep: Reputation: 30
How do you connect with Access? I have tried just fooling around but assumed it wasn't possible.
 
Old 01-27-2004, 04:07 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
As much as I dislike access I have used this VERY successfully lately with end users querying a database via a web page but letting admin users use their existing access database

1) You need to download and install the MyODBC connector onto the client machine:
http://www.mysql.com/downloads/api-myodbc-3.51.html
2) Open "Control Panel -> ODBC Data Sources"
3) Add a data source - fill in the details as appropriate.
4) open a new access database (can be an existing one but test with a new one first)
5) Click "File -> Get External Data -> Link tables"
6) From the type drop down choose "ODBC"
7) On the window that opens click the second tab (forgot the name)
8) Choose the name of the datasource that you added then click ok
9) You then choose which tables you want to link.

From then on in you can just make macros, queries and forms as usual.

I wrote the above steps from memory but I think they should be roughly right.
 
  


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 vs. Access Zebe General 12 10-14-2005 12:47 AM
How access MySQL by MySQL Administrator? treotan Linux - Newbie 5 12-04-2004 10:17 PM
Access to Mysql munna_502 Linux - Software 2 04-20-2004 03:51 PM
from access to mysql ? abd_bela Programming 1 02-12-2004 07:57 AM
mysql and access mychl Programming 2 06-11-2003 06:00 PM

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

All times are GMT -5. The time now is 04:22 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