Next: Setting up the Plugin
Up: SQL Database
Previous: SQL Database
Home: The RDF(s)-DB Protégé Plugin Home
- Download and Install MySql from http://mysql.org/.
- Once MySQL is installed, start the server from the command prompt by typing mysqld --console.If the system complains, either the [MySQL-dir]/bin is not in your path or MySQL is not configured properly.Switch to [MySQL-dir]/bin directory and try again. If the server starts up correctly, you should see InnoDB messages.

- Open another command prompt and type mysql -u root -p mysql. This creates a user root. Press [ENTER] when prompted for a password. This will create a blank password.
- Create a database named testdb using the following command CREATE DATABASE testdb;
- To grant root user full privileges on testdb type, GRANT ALL ON testdb.* TO root@localhost;.

- To test this database, type USE testdb; followed by SHOW DATABASES; to set testdb as the working database and show all databases. You should see testdb over there.

- We now have to ensure Sesame works well with MySQL. For this sesame needs the MySQL JDBC driver file called mysql-driver.jar.Make sure that the mysql-driver.jar file is present in the [Tomcat-dir]/webapps/sesame/lib directory. If the file is present proceed to step 11.
- Incase you don't find them, you can find the mysql-driver.jar file in prdfdb.zip which can be downloaded from http://protege.stanford.edu/plugins/rdfs-db/prdfdb.zip .
- After downloading, extract the contents of prdfdb.zip file.
- Copy mysql-driver.jar from [prdfdb-dir]\edu.stanford.smi.protegex.storage.rdfdb dir and paste it into the
[Tomcat-dir]/webapps/sesame/lib directory.Stop the Tomcat server and restart it again.
- Now quit the MySql monitor and stop the MySql server. Restart the MySql server once again.
- Open a browser to http://localhost:8080/sesame/ .Log in as testuser with password opensesame.
- Select MySQL RDF Test DB and click Go > >.

- If you do not see HTTP Status 500, your installation was successful.

- To proceed next click hereSetting up the Plugin
Next: Testing and Configuring Postgres
Up: SQL Database
Previous: SQL Database
Home: The RDF(s)-DB Protégé Plugin Home