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

thinkphp只能做网站互联网培训机构排名前十

thinkphp只能做网站,互联网培训机构排名前十,外贸网站建设 soho,ui做套网站多少钱背景#xff1a;现有mysql版本为5.5.40#xff0c;考虑到以后需做主从#xff0c;而5.6在主从方面、mysql读写方面都有很大提升。所以#xff0c;准备升级。官网#xff1a;http://www.mysql.com/环境#xff1a;centos6.5 X86_64安装目录#xff1a;/database/mysql解压…背景现有mysql版本为5.5.40考虑到以后需做主从而5.6在主从方面、mysql读写方面都有很大提升。所以准备升级。官网http://www.mysql.com/环境centos6.5 X86_64安装目录/database/mysql解压目录/database/mysql-5-6-24数据存放目录/database/sqldata1、安装依赖包yum install gcc gcc-c -yyum install -y ncurses-develyum install -y openssl-devel(不安装会报错见后文)yum install -y cmakeyum install -y libaioyum install -y bison2、创建mysql用户用户组groupadd mysqluseradd -g mysql mysql3、cmake编译tar –zxvf mysql-5.6.24.tar.gzcd mysql-5-6-24cmake -DCMAKE_INSTALL_PREFIX:PATH/database/mysql -DMYSQL_DATADIR:PATH/database/sqldata -DEXTRA_CHARSETSall -DENABLED_LOCAL_INFILE1 -DWITH_READLINE1 -DMYSQL_USERmysql -DENABLED_LOCAL_INFILE1 -DWITH_SSLyes报错CMake Error at cmake/ssl.cmake:83 (MESSAGE):Cannot find appropriate system libraries for SSL.  Use WITH_SSLbundled toenable SSL supportCall Stack (most recent call first):CMakeLists.txt:255 (MYSQL_CHECK_SSL)解决安装openssl-devel,然后rm CMakeCache.txt。重新运行以上命令。make make install次步时间比较长。#添加PATHecho PATH$PATH:/database/mysql/bin  /etc/profilesource /etc/profile#修改目录权限chown -R mysql:mysql /database/mysqlchown -R mysql:mysql /database/sqldata#拷贝配置文件cp /usr/local/mysql/support-files/my-default.cnf /etc/my.cnf#设置my.conf 在[mysqld]中设置datadir/database/sqldata#初始化scripts/mysql_install_db --usermysql --datadir/database/sqldata  --basedir/database/mysql日志To start mysqld at boot time you have to copysupport-files/mysql.server to the right place for your systemPLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !To do so, start the server, then issue the following commands:/db1/mysql/bin/mysqladmin -u root password ‘new-password‘/db1/mysql/bin/mysqladmin -u root -h shekou password ‘new-password‘Alternatively you can run:/db1/mysql/bin/mysql_secure_installationwhich will also give you the option of removing the testdatabases and anonymous user created by default.  This isstrongly recommended for production servers.See the manual for more instructions.You can start the MySQL daemon with:cd . ; /db1/mysql/bin/mysqld_safe You can test the MySQL daemon with mysql-test-run.plcd mysql-test ; perl mysql-test-run.plPlease report any problems at http://bugs.mysql.com/The latest information about MySQL is available on the web athttp://www.mysql.comSupport MySQL by buying support/licenses at http://shop.mysql.comWARNING: Found existing config file /db1/mysql/my.cnf on the system.Because this file might be in use, it was not replaced,but was used in bootstrap (unless you used --defaults-file)and when you later start the server.The new default config file was created as /db1/mysql/my-new.cnf,please compare it with your file and take the changes you need.#设置mysql服务cp /usr/local/mysql/support-files/mysql.server /etc/rc.d/init.d/mysqldchkconfig --add mysqldservice mysql start#空密码登陆mysqlmysql4、mysql优化及其他操作(详见其他文章)原文http://strongit.blog.51cto.com/10020534/1775494
http://www.pierceye.com/news/665733/

相关文章:

  • 微网站建设哪家便宜想要找个网站做环评公示
  • 建设银行网银网站激活个人简历模板电子版可填写
  • 肃州区建设局网站宁夏百度seo
  • 关于做电影的网站设计西安网站建设制作 熊掌号
  • idc网站建设怎么自己做一个网页链接
  • 网站开发安全模块方案个人网站搭建软件
  • 重庆建设招标造价信息网站个人网站建设与维护
  • 网站备案用户名忘了怎么办嘉兴做外贸网站的公司
  • 1688网站的特点网站制作器手机版下载
  • 兖州网站开发做一个中英文网站多少钱
  • wordpress怎么做网盘站好看的页面图片
  • 建设网站深圳罗湖安徽合肥做网站
  • 一级a做爰片免费网站下载网站快慢由什么决定
  • 网页设计与网站建设 郑州大学网络购物网站备案
  • 美观网站建设哪家好优化大师最新版下载
  • 外贸品牌网站制作wordpress 微信主题
  • 旅游网站开发需求分析网站的根目录的路径
  • easyUI网站开发docker wordpress mysql
  • dede手机网站模板下载黄冈做网站
  • 诸城网站建设葛小燕现在搜索引擎哪个比百度好用
  • 嘉兴做微网站多少钱注册网页需要多少钱
  • 论坛类网站设计大型网站系统解决方案
  • 网站建设中页面设计广告策划书籍
  • 云南省建设工程投标中心网站网页的制作步骤是什么
  • 保定网站设计概述更换动易网站模板的方法
  • 新手如何注册网站域名做 理财网站有哪些
  • 南宁快速建站模板企业网站的开发与应用
  • 网站运营适合什么样的人做企业宣传及介绍ppt
  • 怎么样网站开源小升初在线做试卷的网站
  • 中国建设银行章丘支行网站网站排版设计欣赏