第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定

連接mysql問題

1.在容器內(nèi)mysql正??梢栽L問使用root賬號

root@f4ba8709f955:/bin# /usr/bin/mysql -uroot -p000000

mysql: [Warning] Using a password on the command line interface can be insecure.

Welcome to the MySQL monitor. ?Commands end with ; or \g.

Your MySQL connection id is 10

Server version: 8.0.17 MySQL Community Server - GPL

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 |

| jpress ? ? ? ? ? ? |

| mysql ? ? ? ? ? ? ?|

| performance_schema |

| sys ? ? ? ? ? ? ? ?|


在宿主機(jī)上無法訪問

tcp46 ? ? ?0 ? ? ?0 ?*.3309 ? ? ? ? ? ? ? ? *.* ? ? ? ? ? ? ? ? ? ?LISTEN ? ??

tcp4 ? ? ? 0 ? ? ?0 ?10.26.92.249.60638 ? ? 10.26.92.249.3309 ? ? ?TIME_WAIT ?

tcp4 ? ? ? 0 ? ? ?0 ?10.26.92.249.60639 ? ? 10.26.92.249.3309 ? ? ?TIME_WAIT ?

tcp4 ? ? ? 0 ? ? ?0 ?10.26.92.249.60640 ? ? 10.26.92.249.3309 ? ? ?TIME_WAIT ?

mysql是啟動的

f4ba8709f955 ? ? ? ?mysql ? ? ? ? ? ? ? "docker-entrypoint.s…" ? 5 minutes ago ? ? ? Up 5 minutes ? ? ? ?33060/tcp, 0.0.0.0:3309->3306/tcp ? brave_dijkstra


正在回答

舉報(bào)

0/150
提交
取消
第一個(gè)docker化的java應(yīng)用
  • 參與學(xué)習(xí)       68633    人
  • 解答問題       188    個(gè)

逐步學(xué)習(xí)docker相關(guān)知識,制作第一個(gè)docker化的java應(yīng)用

進(jìn)入課程

連接mysql問題

我要回答 關(guān)注問題
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號