erlDan
erlDan

Reputation: 141

Wordnet SQL Setup

I'm trying to setup the wordnet sql database (http://wnsql.sourceforge.net/). I downloaded this file http://sourceforge.net/projects/wnsql/files/wnsql3/mysql/3.1/ and tried to run the .sh file on my macbook pro. After entering the database name and password I get the following error:

restore-mysql.sh: line 45: mysql: command not found
schema wn
restore-mysql.sh: line 27: mysql: command not found
data wn
restore-mysql.sh: line 27: mysql: command not found
unconstrain wn
constrain wn
restore-mysql.sh: line 27: mysql: command not found
views wn
restore-mysql.sh: line 27: mysql: command not found

Does anybody know how to install the database properly?

Upvotes: 0

Views: 448

Answers (1)

Sasha Pachev
Sasha Pachev

Reputation: 5326

Based on the discussion in the comments, the solution for Debian-like Linux distributions (apt) would be:

apt-get install mysql-client

For RedHat-like (yum)

yum install mysql-client

for others (including non-Linux) check the documentation.

Upvotes: 2

Related Questions