开发者

Can we generate mysql database in perl without connecting to server?

开发者 https://www.devze.com 2023-02-15 20:18 出处:网络
Recently i came across a tool written in tcl w开发者_如何转开发hich generates a mysql database without connecting to a server. It uses some c libraries, can this be done in perl? Sorry if this is too

Recently i came across a tool written in tcl w开发者_如何转开发hich generates a mysql database without connecting to a server. It uses some c libraries, can this be done in perl? Sorry if this is too basic question. This is completely new to me, couldnt find much information.

EDIT:

By "generates a mysql database" i mean it generates a directory with mysql tables. I can create a soft link to that directory in mysql and query data from that


You can generate an SQL file maually that builds up a database when imported into a mysql database. I would advise against manyually creating binary tables and copying them under mysql's data folder.

On the other hand if you want to use SQL databases locally, without having to run a separate server process try SQLite.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号