forked from ether/etherpad-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
How to use Etherpad Lite with MySQL
elijh edited this page Feb 18, 2012
·
7 revisions
- Connect to mysql by opening a command prompt and typing the following:
mysql -u root -p - Once logged in, issue the following command to create the database:
create database etherpad-lite; - Grant permissions to a new database account. Replace and with your own values.
grant all privileges on store.* to '<user>'@'localhost' identified by '<password>'; - Leave the mysql client
exit - Edit settings.json in your Etherpad Lite root folder and change the database settings (if you have a non-default port configured for MySQL you will have to add the "port" setting).
- Run etherpad lite
- Exit, and run:
ALTER DATABASE `etherpad-lite` CHARACTER SET utf8 COLLATE utf8_bin;
ALTER TABLE `store` CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;