MySQL server

The MySQL server actually consists of several servers for improved stability and availability. Please connect to mysql://sql.yone.fi:13306 to make sure your application always uses the current master node.

Observe that the server is only accessible from the internal network!

PHP syntax:

$db = mysql_connect('sql.yone.fi:13306', '<username>', '<password>');

Ruby syntax:

require 'mysql'
conn=Mysql.new('sql.yone.fi','<username>','<password>',
        '<database_name>',13306)

Ruby on Rails:

File config/database.yml:

production:
  adapter: mysql
  database: <your_database>
  username: <username>
  password: <password>
  host: sql.yone.fi
  port: 13306