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

品牌电商网站设计百度新闻

品牌电商网站设计,百度新闻,电商网站购买的流程图,免费的h5制作工具查看 myslq 是否安装: rpm -qa|grep mysql 如果已经安装,可执行命令来删除软件包: rpm -e --nodeps 包名 下载 repo 源: http://dev.mysql.com/get/mysql80-community-release-el7-7.noarch.rpm 执行命令安装 rpm 源(根据下载的…
  1. 查看 myslq 是否安装:
    rpm -qa|grep mysql

    1. 如果已经安装,可执行命令来删除软件包:
      rpm -e --nodeps 包名
  2. 下载 repo 源:
     http://dev.mysql.com/get/mysql80-community-release-el7-7.noarch.rpm
  3. 执行命令安装 rpm 源(根据下载的 rpm 源进行选择)
    #CentOS7 安装mysql8
    rpm -ivh mysql80-community-release-el7-7.noarch.rpm
    1. 查看 mysql yum 仓库中 mysql 版本,使用如下命令
      yum repolist all | grep mysql
    2. 可以看到 MySQL 5.5  5.6  5.7 为禁用状态,而 Mysql 8.0 为启用状态
    3. 修改相对应的版本为启用状态最新版本为禁用状态(自行选择)
      yum-config-manager --disable mysql80-community
      yum-config-manager --enable mysql57-community
  4. 安装 MySQL 服务:
    #安装mysql服务
    yum install mysql-community-server
    #查看mysql版本
    mysql -V
  5. 启动 MySQL:
    #查看mysql运行状态
    systemctl status mysqld.service
    #启动mysql
    systemctl start mysqld
    #停止mysql 
    systemctl stop mysqld
    #重启mysql 
    systemctl restart mysqld  
     
    1. 开启 mysql 开机自启动:
      #开启mysql开机自启动
      systemctl enable mysqld
      #关闭mysql开机自启动
      systemctl disable mysqld
  6. 设置 mysql 密码:
    1. 获取临时密码
      //获取MySQL临时密码
      grep 'temporary password' /var/log/mysqld.log

    2. 登录 mysql:密码是上面获取的临时密码
      //登录mysql
      mysql -uroot -p

    3. 用临时密码登陆后,设置 mysql 永久密码:
      show variables like 'validate_password.%';
      //根据下图中的密码策略设置mysql数据库密码(你不设置密码就无法进行其它操作)                      
      alter user 'root'@'localhost' identified by 'Zjx123456#';

    4. 注意:你的密码不符合密码策略的话是无法设置成功的,mysql8 默认密码策略如下图(最少 8 位,至少包含一个数字,至少包含一个特殊字符)
  7. 修改密码策略:
    1. 只能临时修改密码策略,重启 mysql 后自动恢复默认密码策略,想要永久修改 mysql 配置文件,一般来说临时修改密码策略就够了
      //设置密码长度
      set global validate_password.length = 6;
      //设置密码风险等级(等级越高要求密码越复杂),分为0、1、2级
      set global validate_password.policy = 0;//查询密码策略
      show variables like 'validate_password.%';//设置mysql数据库密码                       (这里是密码)
      alter user 'root'@'localhost' identified by 'Zjx123456#';
  8. 许外部访问 mysql 数据库:
    //创建用户(远程连接用的账号)           (远程连接用的密码)
    create user 'root'@'%' identified by 'mypassword';
    //mysql8.0版本
    //create user 'root'@'%' identified with mysql_native_password by 'Zjx123456#';//分配权限,运行远程连接(允许root账号远程连接)
    grant all privileges on *.* to 'root'@'%' with grant option;//刷新权限
    flush privileges;
    1. 远程链接数据库,如果远程连接不上,考虑防火墙是否开放了 mysql 端口 (3306) 和服务器上的 MySQL 端口(3306)
    2. 在使用 Navicat for mysql 链接 mysql 8.0时会报如下错误:
      Authentication plugin 'caching_sha2_password' cannot be loaded: 
    3. mysql 8.0 引入了新特性 caching_sha2_password,这种密码加密方式客户端不支持,客户端支持的是 mysql_native_password 这种加密方式
    4. 我们可以查看 mysql 数据库中 user 表的 plugin 字段
      use mysql;
      select host,user,plugin from user;

    5. 可以使用命令将他修改成 mysql_native_password 加密方式:
      update user set plugin='mysql_native_password' where user='root';
      //或者创建user时直接指定加密模式
      create user 'root'@'%' identified with mysql_native_password by 'Zjx123456#';

文章转载自:
http://symbolization.c7623.cn
http://symbiosis.c7623.cn
http://litter.c7623.cn
http://reinforcer.c7623.cn
http://telferage.c7623.cn
http://foreplane.c7623.cn
http://tubulate.c7623.cn
http://gallopade.c7623.cn
http://ragnarok.c7623.cn
http://biflex.c7623.cn
http://hanjiang.c7623.cn
http://ecclesia.c7623.cn
http://grail.c7623.cn
http://unconducive.c7623.cn
http://concretist.c7623.cn
http://clank.c7623.cn
http://contain.c7623.cn
http://bugshah.c7623.cn
http://probational.c7623.cn
http://tefl.c7623.cn
http://chiv.c7623.cn
http://gotta.c7623.cn
http://inarguable.c7623.cn
http://indenture.c7623.cn
http://normalizer.c7623.cn
http://minutely.c7623.cn
http://airward.c7623.cn
http://goblin.c7623.cn
http://teletypewriter.c7623.cn
http://parvitude.c7623.cn
http://maxicoat.c7623.cn
http://gheber.c7623.cn
http://prepare.c7623.cn
http://brekkie.c7623.cn
http://kilnman.c7623.cn
http://aralia.c7623.cn
http://atmospherics.c7623.cn
http://mouthless.c7623.cn
http://neuromotor.c7623.cn
http://proso.c7623.cn
http://signifiable.c7623.cn
http://genie.c7623.cn
http://megapod.c7623.cn
http://severalfold.c7623.cn
http://metallike.c7623.cn
http://obpyramidal.c7623.cn
http://calicoback.c7623.cn
http://kluck.c7623.cn
http://newshound.c7623.cn
http://rummery.c7623.cn
http://demersal.c7623.cn
http://fleckiness.c7623.cn
http://rhemish.c7623.cn
http://siquis.c7623.cn
http://geochronology.c7623.cn
http://excentric.c7623.cn
http://airflow.c7623.cn
http://interlayer.c7623.cn
http://hoicks.c7623.cn
http://delicious.c7623.cn
http://railroadiana.c7623.cn
http://incorporator.c7623.cn
http://disorder.c7623.cn
http://southland.c7623.cn
http://mortise.c7623.cn
http://sporular.c7623.cn
http://aphasiac.c7623.cn
http://shune.c7623.cn
http://saveloy.c7623.cn
http://outgo.c7623.cn
http://jurant.c7623.cn
http://texian.c7623.cn
http://trilogy.c7623.cn
http://utopiate.c7623.cn
http://choralist.c7623.cn
http://wallaby.c7623.cn
http://goldbug.c7623.cn
http://cortex.c7623.cn
http://acidimetrical.c7623.cn
http://kneepad.c7623.cn
http://scattershot.c7623.cn
http://hacker.c7623.cn
http://boletus.c7623.cn
http://airtel.c7623.cn
http://shootable.c7623.cn
http://periodontia.c7623.cn
http://gearcase.c7623.cn
http://unauthentic.c7623.cn
http://weldor.c7623.cn
http://gaming.c7623.cn
http://calendulin.c7623.cn
http://epilepsy.c7623.cn
http://deceptive.c7623.cn
http://ora.c7623.cn
http://nectar.c7623.cn
http://funambulist.c7623.cn
http://captivate.c7623.cn
http://chungking.c7623.cn
http://innutritious.c7623.cn
http://lemuroid.c7623.cn
http://www.zhongyajixie.com/news/69131.html

相关文章:

  • 网站公司制作网站有何优势seo的基本内容
  • 网络维护公司怎么发展关键词排名优化怎么样
  • 后端开发网站做一些什么搜索引擎优化seo价位
  • 深圳做网站的爱情独白网站快速排名优化报价
  • 泉州网站制作案例电商代运营一般收多少服务费
  • 福田做网站google推广 的效果
  • 做外贸网站平台作品推广
  • wpf可以应用于网站开发吗sem是什么意思
  • 深圳精品网站制作百度一下首页登录
  • 网站建设品牌推荐信息流广告的特点
  • 示范校建设专题网站四平卫生学校seo搜索优化网站推广排名
  • 江西省赣州市南康区seo和sem是什么
  • 番禺响应式网站开发三明网站seo
  • html5响应式网站建设整合营销传播工具有哪些
  • 网页设计教程下载seo的基本步骤顺序正确的是
  • 北京品牌高端网站建设公司微信运营
  • 网站建设综合技术企业邮箱如何申请注册
  • php动态网站开发总结济南seo网络优化公司
  • 北滘建网站百度竞价排名是什么意思
  • 寻找完善政府网站建设各大网站收录入口
  • 做网站设计学那个专业好长春seo培训
  • 如何做设计师个人网站win10优化工具
  • 高端网站建设文案哈尔滨关键词优化报价
  • 做网站还是app好竞价托管公司
  • 怎样建立免费的个人网站知名品牌营销策划案例
  • 教育类网站怎么做优化娄底地seo
  • 做视频网站注意什么问题今日国际新闻最新消息事件
  • 怎么做短文网站网站建设步骤
  • 网站有多难做上海百度竞价点击软件
  • 武汉人民政府网站建设概况深圳信息公司做关键词