Connect Daily requires version 5.0 or higher of MySQL.
user:~>mysql --user=root
mysql>create database calendar character set utf8;
mysql>grant all privileges on calendar.* to 'calendar'@'localhost' identified by 'calendar';
mysql>grant SUPER on *.* to 'calendar'@'localhost';
mysql>exituser:~>mysql --user=calendar -p calendar
Enter Password:
mysql>\. calschema.sql
mysql>exituser:~>mysql --user=root
mysql>revoke super on *.* from calendar;DBObjectClass=com.MHSoftware.db.support.MySQLDB
JDBCConnectString=jdbc\:mysql\://localhost\:3306/calendar
JDBCDriver=com.mysql.jdbc.Driver
JDBCPassword=calendar
JDBCUserID=calendarNote
If your MySQL installation is an upgrade and you're having trouble with the Trigger creation complaining about SUPER, then you need to run the mysql fix permissions and tables upgrade script.
Triggers must be executed by the creator. It's important that you run the script using the same user the calendar will connect as. In MySQL 5.0, if this is not the case, then you'll need to grant SUPER to the Connect Daily database user.