Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Installation problem on Solaris 2.8

Status
Not open for further replies.

pauljt

Technical User
Feb 26, 2003
31
GB
Following install instructions, eg:

shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> scripts/mysql_install_db

((added '/usr/local/mysql/bin' to path))

Running 'scripts/mysql_install_db' generates the following error:

UFOTEST1:[760] /usr/local/mysql $ scripts/mysql_install_db
./bin/my_print_defaults: syntax error at line 1: `(' unexpected
.
...
.
./bin/mysqld: syntax error at line 1: `(' unexpected
Installation of grant tables failed!


and also if you try to start up server:

UFOTEST1:[777] /usr/local/mysql $ ./bin/safe_mysqld &
[1] 20703
UFOTEST1:[778] /usr/local/mysql $ ./bin/my_print_defaults: syntax error at line
1: `(' unexpected

Using root, so permissions not an issue.



Any ideas? I am banging my head against a brick wall...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top