Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I download mysql5 ( CSWmysq ) from blastwave and can't seem to get the
server going.
i get this,
Code:
# svcs -x
svc:/network/cswmysql5:default (?)
State: maintenance since Fri Jan 11 17:08:19 2008
Reason: Restarting too quickly.
See: http://sun.com/msg/SMF-8000-L5
See: /var/svc/log/network-cswmysql5:default.log
Impact: This service is not running.
log file says nothing, useful or the Sun message.
i tried various install_db (as root) and the db_test thig was ok.
I then noticed that solaris comes with it already, as SUNWmysql.
1> ============= Taken from your post =================
See: /var/svc/log/network-cswmysql5:default.log
Impact: This service is not running.
==> So, what /var/svc/log/network-cswmysql5:default.log says,
tail -10 <svc_log> to show me even though you said it is not useful
2> As you said, mysql comes with solaris also, but no needs to remove these
mysql SUNW packages, I running another mysql5 on my soalris10 without any problem.
mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.0.33-standard-log Source distribution
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
3> can you run the following command to see what SMF controlls your mysql service. I remember the default mysql for soalris10 is version4
and should be controller by /etc/rc3.d/S##mysql script. I am not sure where is your cswmysql5 from. Did you install mysql5 via blastwave?
# svcs -a | grep mysql
4> mysql_install_db --user=mysql is based on the mysql version on your Soalris OS, I am running sun coolstack as follows.
# /opt/coolstack/mysql_32bit/bin/mysql_install_db --user=mysql
Installing all prepared tables
Fill help tables
To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/opt/coolstack/mysql_32bit/bin/mysqladmin -u root password 'new-password'
/opt/coolstack/mysql_32bit/bin/mysqladmin -u root -h SB100 password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /opt/coolstack/mysql_32bit/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd /opt/coolstack/mysql_32bit ; /opt/coolstack/mysql_32bit/bin/mysqld_safe &
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.