phpdave11 / php-survey-builder

A PHP web application that lets you create surveys and collect survey responses. Uses SQLite3 by default and also supports MySQL and PostgreSQL.
MIT License
70 stars 47 forks source link

#1170 - mysql #4

Closed smixy closed 5 years ago

smixy commented 5 years ago

From schema.sql in the last query I got this error:

1170 - BLOB/TEXT column 'question_id' used in key specification without a key length.

And I wanna know how to switch from sqlite to MySQL THANKS

phpdave11 commented 5 years ago

I just pushed an update that allows you to use php-survey-builder with mysql. Just modify config/Database.ini with the correct settings.

phpdave11 commented 5 years ago

I also just pushed an update that adds support for PostgreSQL.

smixy commented 5 years ago

Thank you for your great work ! :)