Author Topic: Portable MySQL (no install)?  (Read 808 times)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Portable MySQL (no install)?
« on: May 23, 2007, 04:11:30 PM »
At work, we have an image viewer that currently uses text index files to store document information.  We are planning to add some kind of indexing to allow for faster searching, and I thought it might be best to use something like MySQL which is a bit more mature and robust rather than try to write our own system.  Is it possible to use MySQL without installing it?  Our viewer needs to be able to run straight from DVD or CD without installing anything.

Smokey

  • Autococker
  • Posts: 1172
Re: Portable MySQL (no install)?
« Reply #1 on: May 23, 2007, 09:00:59 PM »
At work, we have an image viewer that currently uses text index files to store document information.  We are planning to add some kind of indexing to allow for faster searching, and I thought it might be best to use something like MySQL which is a bit more mature and robust rather than try to write our own system.  Is it possible to use MySQL without installing it?  Our viewer needs to be able to run straight from DVD or CD without installing anything.
There are some other database systems that get the job done without the bulk of mysql.
Try SQLite http://www.sqlite.org/

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Portable MySQL (no install)?
« Reply #2 on: May 23, 2007, 09:14:54 PM »
Awesome.  I'll check that out.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Portable MySQL (no install)?
« Reply #3 on: May 23, 2007, 09:32:04 PM »
Just make a new post so I'll see it. :P

y00tz

  • Autococker
  • Posts: 2742
Re: Portable MySQL (no install)?
« Reply #4 on: May 23, 2007, 09:34:01 PM »
Jitspoe, there is a way to use MySQL without installing it. 

1. Download the MySQL no-install package (it's a zip)
mysql-noinstall-5.1.18-beta-win32.zip
2. Decompress
3. run "bin\mysqld-nt.exe"

I don't know how you'll need to do it in your application specifically...

Cheers,
y00tz