» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > MySQL Forums

MySQL Forums Share Your Ideas and Tips about MYSQL. Ask questions about MYSQL. Table Design and Much More...

Reply
 
Thread Tools Display Modes
  #1  
Old 05-05-2007, 04:09 AM
fuchs fuchs is offline
Junior Member
 
Join Date: Oct 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
fuchs is on a distinguished road
Default mysql command client?

Hello friends,
Installing Mysql 5.0.37 from the source distro, I can start the server through the mysql script in /etc/init.d but before the new installation I could start a client from a command window by typing (e.g.)
mysql -u username -p.
And i got,
"Usage: /usr/sbin/mysql {start|stop|restart|reload} [ MySQL server options ]".
Please tell me what i am doing wrong? Any hints?
Thanks. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 05-06-2007, 02:53 AM
ishac ishac is offline
Senior Member
 
Join Date: Jul 2006
Posts: 120
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 17
ishac is on a distinguished road
Default Re: mysql command client?

You are not executing the client command. There should be 'mysqld' in /usr/sbin in most normal installations. The command output shows it is the startup script that should be in /etc/init.d. In any case the client 'mysql' should be in /usr/bin. Check your path so that /usr/bin appears before /usr/sbin. Also, clean everything up and rerun the install. In order to play, move that command to /etc/init.d, make sure 'mysqld' is in /usr/sbin and the 'mysql' binary is in /usr/bin.
Good luck! -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zmanda Launches Data Backup Solution for MySQL Cluster outsourcingplans Web Hosting News 0 04-26-2007 04:36 AM
MySQL failing? Blinck MySQL Forums 1 01-04-2007 06:08 AM
Getting MySQL & PHP to communicate JCH MySQL Forums 0 05-29-2006 01:52 PM
MySQL 5 and MySQL 4.1 on One Machine ?? omen MySQL Forums 1 12-09-2005 06:07 AM
MySQL 5.1.3-alpha has been released gunet MySQL Forums 0 12-09-2005 03:55 AM


All times are GMT. The time now is 08:08 PM.