dbTalk Databases Forums  

MySQL on Mac OS X 10.2.6 -- Remote access?

comp.databases comp.databases


Discuss MySQL on Mac OS X 10.2.6 -- Remote access? in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael S. Jessop
 
Posts: n/a

Default MySQL on Mac OS X 10.2.6 -- Remote access? - 07-16-2003 , 08:49 PM






I am having trouble adding users that have remote access to my machine.
I use the wildcard method (user@"%") and have tried simply granting
SELECT or even with ALL but I cannot connect to the database via the
network. (MySQL 4.0.12 is the version).

[h000a9578d1ca:~] mike% /Library/MySQL/bin/mysql -h candiazoo.com -u
www -p
Enter password:
ERROR 1045: Access denied for user: 'www (AT) 24 (DOT) 62.214.12' (Using password:
YES)

The method I use (right out of the MySQL manual) creates a user entry
in the user table, and an entry in the dn table. The user entry has N
for all of the "yes/no" privilege fields while the db table has "Y" in
the appropriate slots.

I left the limit fields as "0" (unlimited) and did not fill in the SSL
field[s].

Any thoughts? I don't see what I am doing/have done wrong.

:/

Mike J.
candiazoo (AT) mac (DOT) com

Reply With Quote
  #2  
Old   
Greg Fortune
 
Posts: n/a

Default Re: MySQL on Mac OS X 10.2.6 -- Remote access? - 07-17-2003 , 05:58 PM






You didn't post the command you used so I'll reply with what I would use to
set up that kind of access. btw, you'll want to be careful with access
from outside localhost and even more so when someone accesses from outside
your subnet. MySQL connections are *not* encrypted by default and
usernames/passwords are sent in plain text....

GRANT ALL on THEDBNAME.* TO www@"%" IDENTIFIED by "password";

Greg

Michael S. Jessop wrote:

Quote:
I am having trouble adding users that have remote access to my machine.
I use the wildcard method (user@"%") and have tried simply granting
SELECT or even with ALL but I cannot connect to the database via the
network. (MySQL 4.0.12 is the version).

[h000a9578d1ca:~] mike% /Library/MySQL/bin/mysql -h candiazoo.com -u
www -p
Enter password:
ERROR 1045: Access denied for user: 'www (AT) 24 (DOT) 62.214.12' (Using password:
YES)

The method I use (right out of the MySQL manual) creates a user entry
in the user table, and an entry in the dn table. The user entry has N
for all of the "yes/no" privilege fields while the db table has "Y" in
the appropriate slots.

I left the limit fields as "0" (unlimited) and did not fill in the SSL
field[s].

Any thoughts? I don't see what I am doing/have done wrong.

:/

Mike J.
candiazoo (AT) mac (DOT) com


Reply With Quote
  #3  
Old   
Michael S. Jessop
 
Posts: n/a

Default Re: MySQL on Mac OS X 10.2.6 -- Remote access? - 07-18-2003 , 08:36 AM



Is anyone else having a problem with this on Mac OS X?? I am tempted
to export my data, delete mysql then reinstall... but I really really
really don't want to do that if there is some other solution?

Mike

In article <170720031947136471%candiazoo (AT) mac (DOT) com>, Michael S. Jessop
<candiazoo (AT) mac (DOT) com> wrote:

Quote:
Sorry for not posting the exact command... but that is what I did (what
you wrote). No go. I even tried adding a new table and a new user
with access to that table, and for some reason my server refuses the
connection.

If I use localhost I am fine.

Mike.

In article <uJFRa.3228$Jk5.2073984 (AT) feed2 (DOT) centurytel.net>, Greg Fortune
lists (AT) gregfortune (DOT) com> wrote:

You didn't post the command you used so I'll reply with what I would use to
set up that kind of access. btw, you'll want to be careful with access
from outside localhost and even more so when someone accesses from outside
your subnet. MySQL connections are *not* encrypted by default and
usernames/passwords are sent in plain text....

GRANT ALL on THEDBNAME.* TO www@"%" IDENTIFIED by "password";

Greg

Michael S. Jessop wrote:

I am having trouble adding users that have remote access to my machine.
I use the wildcard method (user@"%") and have tried simply granting
SELECT or even with ALL but I cannot connect to the database via the
network. (MySQL 4.0.12 is the version).

[h000a9578d1ca:~] mike% /Library/MySQL/bin/mysql -h candiazoo.com -u
www -p
Enter password:
ERROR 1045: Access denied for user: 'www (AT) 24 (DOT) 62.214.12' (Using password:
YES)

The method I use (right out of the MySQL manual) creates a user entry
in the user table, and an entry in the dn table. The user entry has N
for all of the "yes/no" privilege fields while the db table has "Y" in
the appropriate slots.

I left the limit fields as "0" (unlimited) and did not fill in the SSL
field[s].

Any thoughts? I don't see what I am doing/have done wrong.

:/

Mike J.
candiazoo (AT) mac (DOT) com


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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.