Use Existing Database

dlongnecker

Joined: 2007-03-08
Posts: 21
Posted: Sun, 2009-04-19 15:49

I am playing around with Alpha 4 release. I only have one MySQL database available to me, so I pointed it to that database, but gave it a unique prefix (like g3_). However, the installer complains with:

"The database you provided already has other tables in it. Continuing with the install might overwrite an existing Gallery install. Please go back and choose a different database."

Anyone able to get around this and have it share the database?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-04-19 18:57

http://apps.sourceforge.net/trac/gallery/ticket/175

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-04-19 18:58
Quote:
I am playing around with Alpha 4 release

Do you have a time machine? I only see Alpha 3 on this date.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
dlongnecker

Joined: 2007-03-08
Posts: 21
Posted: Sun, 2009-04-19 19:08

lol -- thanks floridave for the link.

finger check on the version.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-04-24 00:29

If you're brave, you can remove these lines:

    } else if (!installer::db_empty($config)) {
      $content = render("db_not_empty.html.php");

from installer/web.php. Use at your own risk :-)