-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
How to use Etherpad Lite with MySQL
John McLear edited this page Feb 11, 2015
·
22 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
<user>
and<password>
with your own values.grant all privileges on `etherpad-lite`.* 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 etherpad-lite, connect again to mysql and run:
ALTER DATABASE `etherpad-lite` CHARACTER SET utf8 COLLATE utf8_bin;
USE `etherpad-lite`;
ALTER TABLE `store` CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;
"dbType" : "mysql",
"dbSettings" : {
"user" : "user",
"port" : "/var/run/mysqld/mysqld.sock",
"password": "secret",
"database": "database"
}
- Docs
- Translating
- HTTP API
- Plugin framework (API hooks)
- Plugins (available)
- Plugins (list)
- Plugins (wishlist)
- Etherpad URIs / URLs to specific resources IE export
- Etherpad Full data export
- Introduction to the source
- Release Procedure
- Etherpad Developer guidelines
- Project to-do list
- Changeset Library documentation
- Alternative Etherpad-Clients
- Contribution guidelines
- Installing Etherpad
- Deploying Etherpad as a service
- Deploying Etherpad on CloudFoundry
- Deploying Etherpad on Heroku
- Running Etherpad on Phusion Passenger
- Putting Etherpad behind a reverse Proxy (HTTPS/SSL)
- How to setup Etherpad on Ubuntu 12.04 using Ansible
- Migrating from old Etherpad to Etherpad
- Using Etherpad with MySQL
- Customizing the Etherpad web interface
- Enable import/export functionality with AbiWord
- Getting a list of all pads
- Providing encrypted web access to Etherpad using SSL certificates
- Optimizing Etherpad performance including faster page loads
- Getting to know the tools and scripts in the Etherpad /bin/ folder
- Embedding a pad using the jQuery plugin
- Using Embed Parameters
- Integrating Etherpad in a third party app (Drupal, MediaWiki, WordPress, Atlassian, PmWiki)
- HTTP API client libraries