MySQL数据库在嵌入式Linux平台上的移植和应用 Transplantation and Application of MySQL Database in Embedded Linux Platform.pdfVIP

  • 117
  • 0
  • 约1.27万字
  • 约 3页
  • 2017-08-12 发布于上海
  • 举报

MySQL数据库在嵌入式Linux平台上的移植和应用 Transplantation and Application of MySQL Database in Embedded Linux Platform.pdf

MySQL数据库在嵌入式Linux平台上的移植和应用 Transplantation and Application of MySQL Database in Embedded Linux Platform

RD 电子技术 电子技术研发EIectrOnics in MySQL数据库在嵌入式Lux平台上的移植和应用 吴垠余瑾郭磊 (北京邮电大学自动化学院) 摘要:MySQL数据库和嵌入式系统的应用十分广泛,但是关于嵌入式系统中数据库方面的研究尚为数不多。通 数据库的操作更加方便、直观。 关键词:MySQL数据库;嵌入式;LinuX系统、 and of DatabaseinEmbeddedLinux 11ransplantationApplicationMySQL WuYinYUJin(如oLei Posts (Automation and1’elecommunicatioIls) School,BeijingUniverSi哪of Abstract:Theof datab鹤e锄dembedded wide.Butmeresearchonthedatab嬲ein applicationMySOL syst锄is isstill databasecaIl intoembeddedLinux itSsource elnbeddedsystem mre.MySOL be仃ansplanted platformsbymodi母ing code C APIcan to and remote and compilationst印s.ARertransplantation,usinglanguageprogmmapplicationloginmodi矽the database.The a110ws oftlledatab豁emorcconvenientandintuitive. combinationofMvSQLand?MiniGUloperation Keywords:MySQLdatab鹊e:embedded;Linuxsystcm 0引言 解决,即使用ln指令为mysql.Sock文件增加软连接。 MySOL是目前最流行的开放源代码数据库管理系统, 1.2 它为Intemet网站、搜索引擎、数据仓库、任务关键的软 和安装 件应用和系统提供动力。目前的MySQL数据库版本没有 本文使用a彻.1inux—gcc3.4.1作为交叉编译器。目标 支持基于嵌入式Linux平台的交叉编译,这使很多嵌入式 机AIⅢ芯片为Samsun22440,目标机内核版本为2.6.13。 爱好者使用起来非常不方便,甚至放弃使用MySQL数据 MySQL源码包版本为Mysql.5.0.18。 库的方案。 MySOL在嵌入式j二的应用主要有两种,一种足使用 ncurse库通过对终端原始控制代码的封装,向用户提供了 交叉编译出的MySQL的嵌入式应用程序,使用MySQL语 一个灵活高效的应用程序接口函数。 句对本地或是远程数据库进行访问:另外一种是使用 MySQL提供的C语占API函数编写符合用户要求的应用程

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档