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.
精彩评论