Mysql Commands

Joined
Dec 14, 2010
Messages
2
Reaction score
0
Points
1
Dear All,

my MAC os version is 10.5.8

when i open Terminal window i can see

macs-macbook-2:~ mac$

what are the commands to move

mysql>

and in ubuntu there is a command to check status as follows

mysql> SHOW SLAVE STATUS \G

how do i check this on MAC??

what are the commands??

pls help me.

thanks in advance.
 
Joined
Jun 2, 2008
Messages
707
Reaction score
13
Points
18
We are not going to be able to teach you MySQL, you will have to do that on your own.

Here are some useful commands...

MySQL Commands


Now, you are getting confused as well. When you open a terminal window you are seeing a command prompt that is based on UNIX. You will need to learn how to navigate in UNIX as well.
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
The MySQL commands should be very similar if not the same. If they differ, it's not because of the OS but rather an issue of the version of MySQL used. My Ubuntu server is running MySQL 5.1 so I presume you are as well. It's very possible that you have a different version running on your Mac. You'll have to check the docs for the SQL query if they're different between the versions.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top