LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need development environment for mqsql in debian (https://www.linuxquestions.org/questions/linux-newbie-8/need-development-environment-for-mqsql-in-debian-819734/)

lalithasankh 07-14-2010 04:03 AM

Need development environment for mqsql in debian
 
Dear All,

I am working with TS7260 and ARM9 board with Debian os I want to interface any database so will you guide what header files are required and how to compile it..

paulsm4 07-14-2010 11:28 PM

Uh -

I presume you have a GCC toolchain for your target platforms up and running. Why can't you simply download the mysql source and try building it?

lalithasankh 07-15-2010 04:18 AM

but I dont know how to write any program for this

paulsm4 07-15-2010 02:29 PM

So your question is actually:

"How do I write a MySQL client program that will run on a TS7260 or ARM9 embedded Linux system?"

Easy:
1. Pick a language (Perl and Java are two excellent choices - there are many others)
2. Build the MySQL client runtime and/or MySQL server for your target
3. Write a simple "hello world" client program (to verify connectivity)
4. Write your application

In other words, there is effectively NO difference between writing a MySQL client for your embedded Linux system, and writing a MySQL client for a standard desktop Linux.

Here are some good tutorials - pick one and try it on your desktop. There should be little/no difference when it's time to migrate your work to your target host:

http://perl.about.com/od/perltutorials/a/perlmysql.htm

http://www.developer.com/java/data/a...ng-Started.htm


All times are GMT -5. The time now is 03:33 PM.