Mysql5 will not run on my Neveda build 79 system.
Not sure where customers are supposed to find out
about how to get it running?

I tried to start mysql5 using svcadm enable.
Not sure if there is a getting started doc, but I basically found dir
/usr/mysql/5.0/bin and executed mysql_install_db from there.
That created the mysql dir and files under /var/mysql/5.0/data/

However;
# svcs -x
svc:/application/database/mysql:version_50 (MySQL RDBMS)
State: maintenance since January 16, 2008  6:48:05 PM PST
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
  See: http://sun.com/msg/SMF-8000-KS
  See: MySQL 5.0.45(1)
  See: http://dev.mysql.com/docs
  See: /var/svc/log/application-database-mysql:version_50.log
Impact: This service is not running.
zbit:/var/mysql/5.0# cat 
/var/svc/log/application-database-mysql:version_50.log
[ Dec  5 17:53:22 Disabled. ]
[ Dec  5 17:53:22 Rereading configuration. ]
[ Jan 16 18:48:05 Enabled. ]
[ Jan 16 18:48:05 Executing start method ("/lib/svc/method/mysql start"). ]
mysql/data directory /var/mysql/5.0/data is not a valid MySQL data 
directory             <<<=== ***
[ Jan 16 18:48:05 Method "start" exited with status 96. ]


So I notice that the data dir, and all files in it are owned by root.
is that correct?
I did try a chown -R mysql:mysql in that dir to see if it helps, but I get
the same error while trying to start mysqld.

What am I overlooking, and where is the doc for the proper way
to configure and start mysql specific to our Solaris layout?

Thanks,

Neal




Reply via email to