17 comments thus far...

On your very last screenshot (privileges), where it shows “stevie@localhost” for me it says “Not Applicable (no host selected)”. Trying to add localhost results in the “localhost” is already added message. I looked in mysql schema users table, I see that in the host column under my newly created userid contains %, when root account has localhost, 127.0.0.1 and one other. Its a fresh mysql 5.1 install (reinstalled many times to hopefully fix the issue). Any ideas?

From: Lauras on 01.02.2009

@Lauras

I had the same problem as you when I expand my user name it only shows %

After a stiff drink I notice that there are two other buttons near the +/- for adding user. These are to add/remove hosts, if you highlight the % then click on the “Add Host” you are then presented with a table of three options, add them one at a time as follows and things should run fine (so far they have for me)

1: localhost
2: specify hostname (find this in preferences Sharing “Computer Name.local”
3: specify hostname “127.0.0.1″

Remember to save the changes.

I hope this helps.

From: Scott on 01.04.2009

Hi there

MySQL Admin opens and connects but for all accounts (inc new ones I create) I just get ‘loading’….that’s it, unable to do anything else. Any ideas anyone? It’s driving (driven) me nuts..!

Regards

Rich B

From: richbos on 01.26.2009

Thanks for the great info!
Question though..
I can’t seem to find anyone that can tell me why that-
after I create new user, asign host(localhost), grant all privs, save changes, close MySql Admin.
Then I find that in terminal, I get an error from mysql that the user is denied access to database due to privileges.
Then I reopen MySql Admin and see all but two privs are assigned to that user except
EVENT
TRIGGER
back to terminal – same error msg – access denied..
any ideas?

From: DD on 02.19.2009

Hi nice article, my sql administrator is totally unstable! is this normal, or are your installations stable? the datebase is stable, but not the sql admin tool under mac osx leopard

From: Tom on 02.19.2009

@DD: That is a crazy problem. I’ve never had that one myself. Certainly a head scratcher.

@Tom: I’ve never had problems with MySQL Administrator being unstable at all. The obvious thing to do would be to reinstall it but other than that I’m unsure of how to attack that issue.

From: Stevie on 02.19.2009

@Scott

I also had the “no host selected” problem. Your tip works great.

Thanks!

From: Paul on 04.07.2009

[...] cosa buona e giusta è segnalare anche questo articolo molto utile, con alcuni trucchi per la MySQL GUI [...]

From: Leopard e MySQL # ReF-cRew Website on 04.16.2009

[...] MySQL Administrator on Mac OSX Leopard: A Few Tips and Tricks [...]

From: Yes, yes it’s been a while… · superfancy on 05.07.2009

Well.. after experiencing NUMEROUS bugs and crashes from the mySQL QB – I was nudged in the direction of cocaoMySql which has since become Sequel Pro ( http://code.google.com/p/sequel-pro/ ) – and boy… what a piece of work… ill reccomend it to anybody… :)

JW.

From: Jitsu on 06.30.2009

I haven’t used cocoaMySQL in it’s new incarnation but I will check it out at some point. I’m a big Navicat fan at this point so it’s going to take a lot to pull me away…

From: Stevie on 06.30.2009

The reason it says “Skip” in your screenshots is because it changes to “Skip” whenever you are holding the command key. Change your screenshot hotkey, and your screenshots won’t have this problem! Not that it’s a big deal…

From: Kento on 07.02.2009

@Kento: Nice… thanks for the tip. I will definitely see if that works for me.

From: Stevie on 07.03.2009

thanks again… have my db up and running and can now ‘administer’ to it :–D

From: The Pedlar on 07.05.2009

I’m new to MySQL and I’m having problems connecting to my localhost.

I typed in /var/mysql/mysql.sock in the Connect Using Socket: text field and I’m receiving and error.

Error: Can’t connect to local MySQL server through socket ‘//var/mysql/mysql.sock’ (2) code 2002

It gives me an option to ping host which doesn’t work.

Any help getting this connected would be GREATLY appreciated.

From: rickie on 07.28.2009

Muchos Gracias!!!

From: Blia on 08.13.2009

Hey, I’ve been addicted to MySQL Administrator in Windows for years, and it was very strange on Mac that it doesn’t work exactly the same way. The ‘host’ option gave me some thinking, thanks for being available with the solution in Google.

I’ve added ‘localhost’ to the users’ hosts and it works great. Still, one might want to keep an eye on ‘%’ because that means ‘any host from the Internet’, so the default might mean ‘nooooo localhost, but anyone else – sure’ :)

From: Oszkar on 09.05.2009

Anything to add?


Comments RSS