[Discuss] mysql/mariadb

Joe Polcari joe at polcari.com
Tue Jun 27 13:13:19 EDT 2017


Try adding a priv line specifying localhost in addition to the one for %

On 6/27/17, 12:19 PM, "Discuss on behalf of dan moylan"
<discuss-bounces+joe=polcari.com at blu.org on behalf of jdm at moylan.us> wrote:

>
>rich braun writes:
>>> moylan ~[285] mysql -u moylan_moy -p
>>> Enter password:
>>> ERROR 1045 (28000): Access denied for user 'moylan_moy'@'localhost'
>>>(using password: YES)
>
>> Reiterating my earlier advice: learn about and use the -S command line
>>option. The error message references localhost which is different from
>>socket access.
>
>well, i did use the -S option, and it worked -- thank you
>-- but unfortunately i can't say that i learned much.
>
>i have a number of perl scripts dealing with mysql data
>bases.  if i append " -S /var/lib/mysql/mysql.sock" to each
>mysql command therein, i seem to get success.  that's good.
>however i have these same scripts working on other computers
>using the identical operating system (fc25) and don't need
>to resort to this.  what's going on?  i'm mystefied.
>
>but thanks,
>ole dan
>
>j. daniel moylan
>84 harvard ave
>brookline, ma 02446-6202
>617-777-0207 (cel)
>jdm at moylan.us
>www.moylan.us
>[no html pls]
>_______________________________________________
>Discuss mailing list
>Discuss at blu.org
>http://lists.blu.org/mailman/listinfo/discuss





More information about the Discuss mailing list