开发者社区> 问答> 正文

msyq可以通过域名连接吗

msyq可以通过域名连接吗

展开
收起
道月芬1 2021-10-15 16:38:10 356 0
1 条回答
写回答
取消 提交回答
  • 可以通过域名连接,只要域名能解析成对应的IP就行

    root@e152fda7761b:/# mysql -u root -p -h e152fda7761b
    Enter password:
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 79220
    Server version: 5.7.33-log MySQL Community Server (GPL)
    
    Copyright (c) 2000, 2021, Oracle and/or its affiliates.
    
    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>
    
    
    2021-10-15 16:39:16
    赞同 展开评论 打赏
问答分类:
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
域名大数据的应用 立即下载
“域”见更美好的未来——域名筑梦互联网+ 立即下载
“域”感——《域名投资从入门到精通》 立即下载