| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Paul DuBois | Date: | September 24 1999 6:44pm |
| Subject: | Re: "ERROR 2002" or "I promise I'm not just stupid." or "why would mysql care who i'm logged in as?" | ||
| View as plain text | |||
At 1:40 PM -0500 9/24/99, nathaniel c. daiger wrote: >so i've been using mysql for a while and it's great, ra ra ra and all, but > recently it started acting weird. > >when a normal user tries to use the mysql client on the localhost's server, it > says "ERROR 2002 blah blah". > >BUT, if i su to root, and then try to connect as the same user (on the > localhost, using mysq.sock), it works. > >why in god's name would mysql care what user i'm logged in as? Because your default MySQL user name if you don't specify one is your UNIX login name. It sounds like you're not specifying a user name when you run mysql. Is the behavior you're describing above different than it used to be somehow? -- Paul DuBois, paul@stripped
