Re: How to create a SQL engine like MySQL server
"shawn l.green" <[email protected]> Tue, 27 Jan 2015 13:05:05 -0500
| Newsgroups | gmane.comp.db.mysql.devel |
|---|---|
| Organization | Oracle Corporation |
| Message-ID | <[email protected]> |
Hello Harry, On 1/27/2015 11:35 AM, harryxiyou wrote: > Hi all, > > I wanna design/implement a SQL engine (a brief MySQL server, our > project needs) which standard MySQL client could connect to this SQL > engine. It seems that I need to dig into MySQL proxy but I am not > sure. Would anyone please give me some suggestions? > There is an EXAMPLE storage engine you can use as a reference in the source code packages. http://dev.mysql.com/doc/refman/5.6/en/example-storage-engine.html There is also some documentation in the manuals on how storage engines need to operate. Here is a good spot to get started. http://dev.mysql.com/doc/refman/5.6/en/storage-engine-plugins.html But, from your basic description it appears you want to use the embedded server instead of building your own storage engine (manage a private database server as part of your own program's code). How to do that is covered here: http://dev.mysql.com/doc/refman/5.6/en/libmysqld.html Please keep the list informed of which path you take and any progress or problems you have. The community is very happy to help. Regards, -- Shawn Green MySQL Senior Principal Technical Support Engineer Oracle USA, Inc. - Hardware and Software, Engineered to Work Together. Office: Blountville, TN -- MySQL Internals Mailing List For list archives: http://lists.mysql.com/internals To unsubscribe: http://lists.mysql.com/internals