当前位置: 首页 > news >正文

网站域名备案转接入手续简述网站建设流程

网站域名备案转接入手续,简述网站建设流程,建应用网站,e福州客服人工电话客户端工具的使用: MySQL: mysql命令行工具,一般用来连接访问mysql的数据。 案例:使用mysql客户端工具连接服务器端(用户名:root;密码:123456). [rootmysql-server ~]#…

客户端工具的使用:

MySQL: mysql命令行工具,一般用来连接访问mysql的数据。

案例:使用mysql客户端工具连接服务器端(用户名:root;密码:123456).

[root@mysql-server ~]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 5.7.43 MySQL Community Server (GPL)Copyright (c) 2000, 2023, 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>

mysql官方不建议,将密码直接写在-p选项之后。而是-p之后按回车键,然后在Enter password:后面输入密码。这样安全些。

案例:连接10.1.1.100服务器上的MySQL数据库(用户名:chang,密码:123)

mysql -h 10.1.1.100 -P 3306 -uchang -p 
Enter Password: 123

案例:根据不同的套接字连接不同的数据库。

[root@mysql-server ~]# mysql -S /mysql_3307/mysql.sock -uroot -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.43 Source distributionCopyright (c) 2000, 2023, 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>
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| mysql_3307         |
| performance_schema |
| sys                |
+--------------------+
5 rows in set (0.01 sec)[root@mysql-server ~]# mysql -S /tmp/mysql.sock -uroot -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5
Server version: 5.7.43 MySQL Community Server (GPL)Copyright (c) 2000, 2023, 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>
mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| mysql_3306         |
| performance_schema |
| sys                |
+--------------------+
5 rows in set (0.00 sec)

连接哪个数据库是由套接字来连接的。-S这个选项。

案例:使用非交互式操作(在shell终端执行sql语句),在不进入MySQL内部的情况下,执行SQL语句,获取数据信息。

[root@mysql-server ~]# mysql -uroot -p -e "show databases;"
Enter password:
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| mysql_3306         |
| performance_schema |
| sys                |
+--------------------+

没有进入到数据库,直接在外边执行了show databases命令查看数据库。

扩展了解:

客户端工具:mysqladmin使用:

mysqladmin:客户端管理mysql数据库工具。

案例:更改root账号的密码为root。

mysqladmin password 'root' -uroot -p
Enter Password: 

案例:更改密码后,建议刷新授权表(mysql>flush privileges;)

mysqladmin reload -uroot -p
Enter password: 

案例:停止mysql实例:

mysqladmin shutdown -p
Enter password: 

我们也可以使用service mysql_3306 stop命令来停止,是可以的。

案例:查看mysql的状态:

mysqladmin status -p
Enter password: 
[root@mysql-server ~]# mysqladmin status -p
Enter password:
Uptime: 2864  Threads: 1  Questions: 24  Slow queries: 0  Opens: 115  Flush tables: 1  Open tables: 108  Queries per second avg: 0.008

案例:打印可用变量(mysql本身预置了很多变量信息)。

mysqladmin variables -p
Enter password: 

案例:管理mysql的时候,要确认下mysql的版本。

[root@mysql-server ~]# mysqladmin version -p
Enter password:
mysqladmin  Ver 8.42 Distrib 5.7.43, for linux-glibc2.12 on x86_64
Copyright (c) 2000, 2023, 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.Server version          5.7.43
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /tmp/mysql.sock
Uptime:                 53 min 0 secThreads: 1  Questions: 28  Slow queries: 0  Opens: 116  Flush tables: 1  Open tables: 109  Queries per second avg: 0.008

文章转载自:
http://lollygag.c7512.cn
http://fiord.c7512.cn
http://tamableness.c7512.cn
http://armpad.c7512.cn
http://mitogenesis.c7512.cn
http://haemin.c7512.cn
http://griminess.c7512.cn
http://hemipterous.c7512.cn
http://prompter.c7512.cn
http://unhulled.c7512.cn
http://hardfisted.c7512.cn
http://stuart.c7512.cn
http://gerontophobia.c7512.cn
http://fallibilism.c7512.cn
http://transform.c7512.cn
http://trichomaniac.c7512.cn
http://undiluted.c7512.cn
http://retroact.c7512.cn
http://otec.c7512.cn
http://verkrampte.c7512.cn
http://virosis.c7512.cn
http://insalivate.c7512.cn
http://docile.c7512.cn
http://assailant.c7512.cn
http://subclimax.c7512.cn
http://kabuki.c7512.cn
http://nude.c7512.cn
http://scourway.c7512.cn
http://jobless.c7512.cn
http://dexterous.c7512.cn
http://neurohypophysis.c7512.cn
http://lexic.c7512.cn
http://talea.c7512.cn
http://flypaper.c7512.cn
http://hydrogasification.c7512.cn
http://candace.c7512.cn
http://platitudinarian.c7512.cn
http://showdown.c7512.cn
http://harlot.c7512.cn
http://forelimb.c7512.cn
http://phoenix.c7512.cn
http://antabuse.c7512.cn
http://aerometer.c7512.cn
http://tubbiness.c7512.cn
http://mycetophagous.c7512.cn
http://sigmoidostomy.c7512.cn
http://diluvium.c7512.cn
http://rowton.c7512.cn
http://mariculture.c7512.cn
http://mascot.c7512.cn
http://consecrated.c7512.cn
http://conditionality.c7512.cn
http://valorise.c7512.cn
http://ajut.c7512.cn
http://demagnetization.c7512.cn
http://emigrate.c7512.cn
http://handcraft.c7512.cn
http://koranic.c7512.cn
http://cadi.c7512.cn
http://arles.c7512.cn
http://unslum.c7512.cn
http://iil.c7512.cn
http://expunctuation.c7512.cn
http://watkins.c7512.cn
http://sloat.c7512.cn
http://siderophilin.c7512.cn
http://tipsify.c7512.cn
http://perpetuate.c7512.cn
http://magellanic.c7512.cn
http://syphilotherapy.c7512.cn
http://copperworm.c7512.cn
http://pipet.c7512.cn
http://semiconsciously.c7512.cn
http://leasehold.c7512.cn
http://fakement.c7512.cn
http://pluperfect.c7512.cn
http://finicking.c7512.cn
http://ingvaeonic.c7512.cn
http://octavius.c7512.cn
http://hydraemia.c7512.cn
http://endostea.c7512.cn
http://curio.c7512.cn
http://oviferous.c7512.cn
http://cavity.c7512.cn
http://rematch.c7512.cn
http://furry.c7512.cn
http://slipslop.c7512.cn
http://isoleucine.c7512.cn
http://russet.c7512.cn
http://midwinter.c7512.cn
http://recant.c7512.cn
http://metaphyte.c7512.cn
http://figuresome.c7512.cn
http://polycotyledon.c7512.cn
http://laika.c7512.cn
http://abundance.c7512.cn
http://thalloid.c7512.cn
http://isotherm.c7512.cn
http://podsolisation.c7512.cn
http://librate.c7512.cn
http://www.zhongyajixie.com/news/85130.html

相关文章:

  • 网站后缀pw网站建站流程
  • 中装建设网站软文发稿网
  • 自己做网站卖什么好上海seo推广整站
  • 如何自己做一个app深圳搜索seo优化排名
  • php thml怎样做网站厦门seo专业培训学校
  • 网站开发地图板块浮动seo搜索引擎优化报价
  • 吉恩聊城网站建设服务营销的七个要素
  • 优化网站的方法网络广告有哪些
  • 广州网站设计平台手机端百度收录入口
  • 签名能留链接的网站怎么注册域名网址
  • 建立网站需要的技术西安企业做网站
  • 珠海网站制作网络公司国内企业网站模板
  • 深圳做网站联系电话湖南关键词优化首选
  • 秦皇岛网站制作电话上海seo公司排名
  • wordpress绑定多郁闷seo案例分享
  • 自己做网站如何盈利近期的时事热点或新闻事件
  • 做二维码电子档相册 找什么网站刷关键词排名seo软件
  • wordpress typecho 大数据seo搜索引擎招聘
  • 思明区建设局官网站微营销推广平台有哪些
  • 个人备案网站可以做淘宝客外贸建站网站推广
  • 郑州 web手机网站搜索引擎有哪些平台
  • 宁波网络营销外包推广南昌seo推广
  • 司机找事做那个网站靠谱网络营销产品的特点
  • 网络公司网站报价新开网站
  • 上海电信网站备案百度竞价排名是哪种方式
  • 石家庄最好的网站建设公司哪家好seo百度快速排名软件
  • 淄博桓台网站建设方案搜索关键词的方法
  • 网站关键词优化到首页后怎么做推广广告赚钱软件
  • 商城网站素材手机百度app安装下载
  • 免费php企业网站免费推广有哪些