mysql krijg geen toegang..

Pagina: 1
Acties:

  • chuxiej
  • Registratie: Februari 2001
  • Laatst online: 13-07-2020
Dit doe ik in me console:
[firefox@chatstars firefox]$ mysql --user=firefox firefox
Dat moet goed zijn volgens mij :?

Ik krijg deze error:
ERROR 1044: Access denied for user: '@localhost' to database 'firefox'

Wat kan er mis zijn?
ik heb toch echt de juiste priveledges gegeven

www.dannyhiemstra.nl


Verwijderd

heb je ze wel geflushed?

Verwijderd

Probeer dit anders eens:
code:
1
[firefox@chatstars firefox]$ mysql -u firefox -p

En wanneer je dan bent ingelogd gewoon:
code:
1
mysql> connect firefox

  • chuxiej
  • Registratie: Februari 2001
  • Laatst online: 13-07-2020
[firefox@chatstars firefox]$ mysql -u firefox -p
Enter password:
ERROR 1045: Access denied for user: 'firefox@localhost' (Using password: YES)

www.dannyhiemstra.nl


Verwijderd

Heb je al geflushed?

  • chuxiej
  • Registratie: Februari 2001
  • Laatst online: 13-07-2020
Nadat ik geflushed had kon ik wel inloggen maar niet connecten:

[root@chatstars firefox]# exit
exit
[firefox@chatstars firefox]$ mysql -u firefox -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 66 to server version: 3.23.41

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> connect firefox
ERROR 1044: Access denied for user: '@localhost' to database 'firefox'

www.dannyhiemstra.nl


  • Sn3akz
  • Registratie: November 2000
  • Laatst online: 31-01 20:37
hij zegt user "@localhost"

Moet daar geen username voorstaan?? Of klopt het, omdat je lokaal inlogt?? Ik weet het niet, ben geen ster in MySQL

  • Petuhr
  • Registratie: Juni 2000
  • Laatst online: 10:56

Petuhr

FreeBSD

mag je wel vanaf localhost connecten?

anders: mysql -u $user -h $host -p

  • GiLuX
  • Registratie: Juni 1999
  • Laatst online: 12-11-2025
kijk anders in database 'mysql' in table 'db'.
staat daar alles zoals je 'denkt' ingesteld te hebben?

"I disagree with what you are saying, but I will defend to the death your right to say it." -- not clear who

Pagina: 1