Configuring you Mozilla Sync Server on CentOS with MySQL backend and behind Apache

This original article is based off the documentation found at :

Configuring the application

The application is configured via two files:

  • the Paster ini-like file, located in etc/
  • the Services configuration file.

XXX more on file location

Resetting a lost mysql root password

root@steve:~# /etc/init.d/mysql stop

Now you should start up the database in the background, via the mysqld_safe command:

root@steve:~# /usr/bin/mysqld_safe --skip-grant-tables &
[1] 6702
Starting mysqld daemon with databases from /var/lib/mysql
mysqld_safe[6763]: started

Here you can see the new job (number "1") has started and the server is running with the process ID (PID) of 6702.

Now that the server is running with the --skip-grant-tables flag you can connect to it without a password and complete the job:

Subscribe to RSS - mysql