wood burning stoves 2.0*
The moose likes JDBC and the fly likes Problem launching MySql under Solaris 8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Problem launching MySql under Solaris 8" Watch "Problem launching MySql under Solaris 8" New topic
Author

Problem launching MySql under Solaris 8

Mark Lau
Ranch Hand

Joined: Dec 15, 2001
Posts: 120
I have difficulty starting MySql
My system is Sun Sparc SunBlade100 running Solaris 8 with W2K inside.
I downloaded a MySql package from www.sunfreeware.com and successfully
pkgadded it to my Solaris system.
Each time I run mysql_install_db, I get such error message:
# ./mysql_install_db
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
ld.so.1: /usr/local/mysql/libexec/mysqld:
fatal: libstdc++.so.3: open failed: No such file or directory
Killed
Installation of grant tables failed!
Seems the file libstdc++.so.3 could not be found. I checked /usr/lib,
indeed the file is missing from there. But I do have libstdc++.so.2.10.0
under /usr/lib, so I intened to modify /usr/local/mysql/libexec/mysqld, but
unfortunately, mysqld is a binary file instead of ASCII script file. I got
no way to change it.
So what should I do?
Furthermore, each time I run safe_mysqld, I get such an error message:
# ./safe_mysqld
chown: unknown user id mysql
Starting mysqld daemon with databases from /usr/local/mysql/var
Killed
020310 03:04:56 mysqld ended
How can I start MySql? Please kindly help. Thanks a lot.
Gene
[ March 09, 2002: Message edited by: Gene Chao ]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9043
    
  10
Possible helpful pages:

mysql manual

search results using "safe_mysqld" at the mySql site.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Mark Lau
Ranch Hand

Joined: Dec 15, 2001
Posts: 120
I read the manual before I posted my question here. It does not help.
I have been posting my questions in mysql mailing list, in comp.lang.java.databases, in another forum besides this one, but nobody was able to help. Feeling so bad.
Is my problem so hard? Or not many people use MySql?
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9043
    
  10
My system is Sun Sparc SunBlade100 running Solaris 8 with W2K inside.

My system is Win2K on an AMD machine.

I downloaded a MySql package from www.sunfreeware.com

I downloaded mine from url=http://www.mysql.com]the mySQL website[/url].

Each time I run mysql_install_db, I get such error message:

I've never had reason to run this command.

Furthermore, each time I run safe_mysqld, I get such an error message:

I've never had reason to run this command either.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem launching MySql under Solaris 8
 
Similar Threads
another JDBC driver question
mysql rm: cannot unlink `/tmp/mysql.sock': Operation not permitted
Problem running MySql
Installing mysql on Linux
Slackware & Mysql error install