B
B
Boris Yakushev2015-09-30 18:03:27
MySQL
Boris Yakushev, 2015-09-30 18:03:27

Mysql from under the console on sees a DB?

Good afternoon, please tell me why all the databases are not displayed in the console?
f7aaK4z.png
And in phpmyadmin they are displayed.
ZG0Pd6I.png
I'm using xammp, it was allowed into the console without a password.
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vlad Zhivotnev, 2015-09-30
@za4me

mysql -u username -p

D
Dmitry, 2015-09-30
@thewind

That's why he doesn't see

launched without password
.
Have you heard about user privileges?

A
AVKor, 2015-09-30
@AVKor

Consistently:

mysql> help contents
mysql> help Account Management
mysql> help GRANT

and read the latter carefully.

I
Ivanq, 2015-09-30
@Ivanq

These databases are accessible without a password. To see everything, enter your password and login

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question