B
B
BEKa T2020-01-01 11:52:46
MySQL
BEKa T, 2020-01-01 11:52:46

Why does XAMPP MySQL and NodeJS npm install mysql show different Databases?

In short, I wrote a lot of text and accidentally refreshed the page

spoiler
(я пальцожоп)
So short.
XAMPP MySQL and NodeJS npm install mysql show different Databases.
node js console
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 5.7.28-0ubuntu0.16.04.2 (Ubuntu)

Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| MyDB123            |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
5 rows in set (0,25 sec)

mysql>

xampp mysql
localhost/		http://localhost/phpmyadmin/server_sql.php
SQL-запрос успешно выполнен.

SHOW DATABASES

db	
information_schema	
mysql	
performance_schema	
phpmyadmin

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly Karasik, 2020-01-01
@Bread09

What users are used in both cases?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question