PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 4 (http://www.photopost.com/forum/installs-upgrade-vbulletin-4/)
-   -   Can't install vbgallery 3.01 under mysql 5.5.9 with innodb (http://www.photopost.com/forum/installs-upgrade-vbulletin-4/145487-cant-install-vbgallery-3-01-under-mysql-5-5-9-innodb.html)

Fenriz March 15th, 2011 06:36 AM

Can't install vbgallery 3.01 under mysql 5.5.9 with innodb
 
Hello! Just tried to install vbgallery 3.01 at vB 4.1.2 Suite under MySQL 5.5.9 (with default InnoDB engine) and get:

1. The first error:

Code:

Content visible to verified customers only.

2. Ok, I replaced
Code:

Content visible to verified customers only.
with
Code:

Content visible to verified customers only.
(remove TYPE=MyISAM everywere) and get a second error:

Code:

Content visible to verified customers only.
Of course, InnoDB doesn't support FULLTEXT indexes.
So, we need a new vbgallery_install.php script for vbgallery installing under mysql 5.5.x as InnoDB is default at the new mysql release. Please help!

Luciano March 15th, 2011 07:19 AM

1 Attachment(s)
Nope, you cant remove myisam, but you should have replaced with ENGINE=MyIsam


and, there is a new installer, (cant find the thread where it was posted) so i added it here also.

Main changes, type changed to engine and a couple of other minimal changes.

main thing, it will now install for versions of mysql > 5.5
BUT vbgallery still depends on MyIsam and you should not change to innodb.

(In mysql docs it says that both types can live side by side without problems)


But innodb is very very slow when count(*) is used. (and counts are used on main pages specially for pagination) so in very large galleries the pages could take more than 30 seconds loading.

To be able to get same results with innodb, the whole script would have to be rewritten.

But try the attached installer as is, it should work.

Luc

Fenriz March 16th, 2011 11:19 AM

Yes, the script works! Tables have been installed correctly under MyISAM and work great. Thank you!

Looking forward to the innodb vbgallery version :)


All times are GMT -5. The time now is 08:45 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97