User Tools

Site Tools


en:user_advanced:greenstone_databases

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:user_advanced:greenstone_databases [2017/09/08 08:40] anupamaen:user_advanced:greenstone_databases [2023/03/13 01:46] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +
 +
 +
 ====== Information about the databases Greenstone uses ====== ====== Information about the databases Greenstone uses ======
  
Line 45: Line 48:
  
 For further information on using Squirrel SQL, consult its documentation, which can be found off http://squirrel-sql.sourceforge.net/. For further information on using Squirrel SQL, consult its documentation, which can be found off http://squirrel-sql.sourceforge.net/.
 +
 +
 +==== Using Squirrel SQL Client to load a MySQL DB ====
 +On Windows:
 +
 +1. Download JDBC driver for MySQL from https://dev.mysql.com/downloads/connector/j/
 +  * Under //Select Operating System//, choose //Platform Independent//.
 +See https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-installing.html for installation information
 +
 +2. Unzip and copy the top level jar file, ''mysql-connector-java-8.0.13.jar'' and the ''lib'' folder into the Squirrel SQL Client installation folder's ''lib'' subfolder.
 +
 +3. Follow the instructions at https://www.cdata.com/kb/tech/mysql-jdbc-squirrel-sql.rst \\ but when they say configure the "server" for connection properties, configure the "host" instead and set this to 127.0.0.1 instead of the default of localhost. Also set the username (root by default) and pwd connection properties. (Perhaps set the name property of the database too, although this shouldn't be necessary? If testing GreenstoneSQLPlugs, the database name is ''localsite'' for GS3 and ''greenstone2'' for GS2.)
 +
 +4. Make sure to [[http://wiki.greenstone.org/doku.php?id=en:user_advanced:greenstonesqlplugs#getting_and_running_mysql|have the MySQL Server running]] 
 +
 +5. Connect the Squirrel Client to it. https://www.cdata.com/kb/tech/mysql-jdbc-squirrel-sql.rst
en/user_advanced/greenstone_databases.1504860028.txt.gz · Last modified: 2017/09/08 08:40 by anupama