MySQL Forums
Forum List  »  Install & Repo

Re: ERROR: 1004 Can't create file during postinstall script
Posted by: Nick Wong
Date: October 08, 2007 08:21PM

me too, pls help! (installing mysql-5.0.45-solaris10-i386 on Solaris 10 AMD64)

/usr/sbin/mysqlmanager <symbolic link>
/usr/sbin/safe_mysqld <symbolic link>
[ verifying class <none> ]
## Executing postinstall script.
ERROR: 1004 Can't create file '/var/tmp//installxyaOYn/#sql1baf_1_0.frm' (errno: 13)
071009 10:08:19 [ERROR] Aborting

071009 10:08:19 [Note] /opt/mysql/mysql/bin/mysqld: Shutdown complete

Installation of system tables failed!

Examine the logs in /var/lib/mysql for more information.
You can try to start the mysqld daemon with:
/opt/mysql/mysql/bin/mysqld --skip-grant &
and use the command line tool
/opt/mysql/mysql/bin/mysql to connect to the mysql
database and look at the grant tables:

shell> /opt/mysql/mysql/bin/mysql -u root mysql
mysql> show tables

Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in /var/lib/mysql that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!

Installation of <mysql> was successful.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.