mysql in solaris


 
Thread Tools Search this Thread
Operating Systems Solaris mysql in solaris
# 1  
Old 01-06-2011
mysql in solaris

hi am senthil
i ve a problem in mysql installed on solaris..
i have installed mysql
but couldn login into the mysql promt ..
getting the following error..

mysql -u root -p
mysql: not found

if i tried svcs
svcs -a | grep -i mysql

its showing
maintenance 19:00:34 svc:/application/mysql:default
please tell me where is the problem...

---------- Post updated at 07:35 PM ---------- Previous update was at 07:23 PM ----------

tell me as soon as possible
thanks..
# 2  
Old 01-06-2011
path to mysql may not be set in PATH variable.
# 3  
Old 01-06-2011
is it a new install? has it run before? is everything configured properly? have you worked through the guide? what is inside the logfile of the smf facility?

---------- Post updated at 15:19 ---------- Previous update was at 15:18 ----------

Quote:
Originally Posted by anurag.singh
path to mysql may not be set in PATH variable.
which didn't explain why the db is in maintenance... only why the client is not found.
# 4  
Old 01-06-2011
i went through the below link for installation

BigAdmin Submitted Tech Tip: A Guide to SAMP (Solaris OS With Apache/MySQL/PHP)

its a fresh installation..
# 5  
Old 01-06-2011
i went through the below link..
its a fresh installation..
# 6  
Old 01-06-2011
its a fresh installation .. how to check the log file .. i mean the path ..
where it will be..

---------- Post updated at 08:03 PM ---------- Previous update was at 07:56 PM ----------

i went through some other link for installtion .. but sock and all other stuffs are created ..

---------- Post updated at 08:10 PM ---------- Previous update was at 08:03 PM ----------

when i use
/usr/sfw/sbin/mysqld stop
its closing properly
and the log file shows its a normal shutdown..
# 7  
Old 01-06-2011
check the output of "svcs -xv" for the proper logfile...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Mysql user on Solaris 11

We have a user called mysql on our Solaris11 server. We don't user MySQL. It was not there last year. Is there a way to find out how it got created and when it was created? (3 Replies)
Discussion started by: jtamminen
3 Replies

2. Solaris

upgrade solaris mysql version...

hi i need to upgrade my solaris mysql version.. can u guide me the upgrade steps.. my current version is 4.0.31-log i need to upgrade to 5.0 .. thanks.. ---------- Post updated at 12:04 PM ---------- Previous update was at 11:28 AM ---------- my solaris version is 10.. ----------... (2 Replies)
Discussion started by: senkerth
2 Replies

3. Solaris

solaris 10 mysql no longer able to restart

Came in tonight, and some people started getting this error message note: users were getting this error in IE6 and in firefox, pages seemed to process fine in Chrome. :confused: anyway... So I decided to restart the MySQL service, now it will not restart. First tried: root@bender:/>... (2 Replies)
Discussion started by: ippy98
2 Replies

4. Solaris

MySQL Authentication errror 1251 on Solaris.

I am trying to connect to MySQL installed on windows from Solaris machine. While doing this getting error as: "Client does not support authentication protocol requested by server; consider upgrading MySQL client; errno = 1251" I have installed mysql-5.1.34-solaris10-sparc.tar.gz on... (1 Reply)
Discussion started by: amit_27
1 Replies

5. Shell Programming and Scripting

Solaris Security toolkit to mysql

Hi every body! Any one ever tried to inject the output of JASS into mysql or know of a method or script to do this Thk Dan (0 Replies)
Discussion started by: Ex-Capsa
0 Replies

6. Solaris

Errors trying to compile PHP for use with MySQL on Solaris 10

have installed and am using the GNU based tools from the Sunfreeware site to compile PHP. I already have Apache, MySQL, and Oracle compiled and working properly. Below is my configure string for my PHP build: ./configure --prefix=/usr/local/php5 \... (2 Replies)
Discussion started by: sunsysadm2003
2 Replies

7. UNIX and Linux Applications

upgrade to solaris 9 - mysql impact

I have 4 solaris 8 servers running mysql 5.0.22. I am considering upgrading to solaris 9 and wanted to know if mysql needs to be recompiled for mysql to run under solaris 9. Thank you (4 Replies)
Discussion started by: csgonan
4 Replies

8. UNIX for Dummies Questions & Answers

Mysql logging in Solaris

Folks; i have mysql installed on Solaris box (sparc). The problem is under /opt/mysql/data directory, there's a log file that grows very fast & becomes a huge size. Is there a way to stop the logging under the data directory so i don't have the issue of running out of space? Your help will... (6 Replies)
Discussion started by: moe2266
6 Replies

9. Solaris

error: compile 64 bit mysql on Solaris 10

I'm trying to build 64 bit mysql-5.0.37 on Solaris 10. CFLAGS="-O3" CXX='gcc -m64 -mcpu=v9' CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure -disable-shared --prefix=/usr/local/mysql --datadir=/home1/mysql_data --with-mysqld-user=mysql ... (0 Replies)
Discussion started by: csross
0 Replies

10. UNIX for Advanced & Expert Users

Compiling of MySQL 3.23 Solaris 8 x86 ( 07/01) faild (Please help)

I got the source tarbal from mysql.com of the latest version about 3.23. When I compile it, I get some errors of assembler etc. I start ./configure with these settings CC=gcc CFLAGS="-O6" \ CXX=gcc CXXFLAGS="-O6 -felide-constructors -fno-exceptions -fno-rtti" \ ./configure... (1 Reply)
Discussion started by: mrsaint
1 Replies
Login or Register to Ask a Question