Reputation: 2247
Recently i came across a tool written in tcl which 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
Upvotes: 0
Views: 125
Reputation: 20333
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.
Upvotes: 1