-
- Notifications
You must be signed in to change notification settings - Fork 3k
How to use Etherpad Lite with MySQL
SamTV12345 edited this page May 14, 2024 · 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_db`; - Create a new database user. Replace
<etherpaduser>and<password>with your own values.CREATE USER '<etherpaduser>'@'localhost' identified by '<password>'; - Grant permissions to that new database account. Replace
<etherpaduser>with your own value from above step.grant CREATE,ALTER,SELECT,INSERT,UPDATE,DELETE on `etherpad_lite_db`.* to '<etherpaduser>'@'localhost'; - 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). It is strongly encouraged to set the option "charset" to "utf8mb4".
- Run etherpad lite
"dbType" : "mysql", "dbSettings" : { "user" : "etherpaduser", "socketPath": "/var/run/mysqld/mysqld.sock", "password": "secret", "database": "etherpad_lite_db", "charset" : "utf8mb4" } CREATE TABLE `store` ( `key` varchar(100) COLLATE utf8mb4_bin NOT NULL DEFAULT '', `value` longtext COLLATE utf8mb4_bin NOT NULL, PRIMARY KEY (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin; - 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