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

企业电子商务网站开发如何做商城网站小程序

企业电子商务网站开发,如何做商城网站小程序,怎么做cms网站,苏州网络seo客户端工具的使用#xff1a; MySQL#xff1a; mysql命令行工具#xff0c;一般用来连接访问mysql的数据。 案例#xff1a;使用mysql客户端工具连接服务器端#xff08;用户名#xff1a;root#xff1b;密码#xff1a;123456#xff09;. [rootmysql-server ~]#… 客户端工具的使用 MySQL mysql命令行工具一般用来连接访问mysql的数据。 案例使用mysql客户端工具连接服务器端用户名root密码123456. [rootmysql-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.mysqlmysql官方不建议将密码直接写在-p选项之后。而是-p之后按回车键然后在Enter password后面输入密码。这样安全些。 案例连接10.1.1.100服务器上的MySQL数据库用户名chang密码123 mysql -h 10.1.1.100 -P 3306 -uchang -p Enter Password: 123 案例根据不同的套接字连接不同的数据库。 [rootmysql-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)[rootmysql-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语句获取数据信息。 [rootmysql-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: 案例更改密码后建议刷新授权表mysqlflush privileges; mysqladmin reload -uroot -p Enter password: 案例停止mysql实例 mysqladmin shutdown -p Enter password: 我们也可以使用service mysql_3306 stop命令来停止是可以的。 案例查看mysql的状态 mysqladmin status -p Enter password: [rootmysql-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的版本。 [rootmysql-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://www.w-s-a.com/news/434146/

相关文章:

  • 安徽省建设工程信息网官网首页网站关键词排名优化工具
  • 深圳网站建设 百业网站专题教程
  • 公司seo是指什么意思如何来做网站优化
  • 化妆品网站建设平台的分析湖南网站搜索排名优化电话
  • 织梦网站修改教程视频教程管理类网站开发价格
  • 如何让新网站快速收录企业建站的作用是什么
  • 在线制作简历的网站做的最好的微电影网站
  • h5制作的网站网络游戏投诉平台
  • 做外贸网站好还是内贸网站好珠海新盈科技有限公 网站建设
  • php和网站开发网络软营销
  • 大型做网站的公司有哪些wordpress注册链接无效
  • 推荐门户网站建设公司网站开发移动端
  • 公司网站的栏目设置成都十大监理公司排名
  • 安溪住房和城乡建设网站关岭县建设局网站
  • 网站域名注销备案徐州房产网
  • 筑聘网windows优化大师自动安装
  • 龙华高端网站设计门户网站建设方案公司
  • 网站开发作用网站建设哪家专业
  • 网站设计报告总结南宁商城网站推广公司
  • 淘宝做店招的网站免费网站建设自助建站
  • 重庆工信部网站绵阳公司网站建设
  • 购物网站开发流程制作企业网页
  • 定州哪里可以做网站建设项目环境影响登记表备案系统网站
  • 网站建设费属于广告费小猪网站怎么做的
  • 国内优秀设计网站站长哈尔滨微网站建设
  • 如何建设一个优秀的电商网站沐风seo
  • 从零开始学网站建设知乎安防网站下载
  • 打开网站弹出qq应用软件有哪些
  • 温州网站建设seo网站 如何做 中英文切换
  • 聊城做网站的公司资讯信阳 网站建设