广告
返回顶部
首页 > 资讯 > 数据库 >try mysql5.5.8
  • 594
分享到

try mysql5.5.8

2024-04-02 19:04:59 594人浏览 八月长安
摘要

install Mysql558[@more@]首先阅读下官方文档说明Http://dev.mysql.com/doc/refman/5.5/en/source-installation.html按照cma

install Mysql558[@more@]

首先阅读下官方文档说明Http://dev.mysql.com/doc/refman/5.5/en/source-installation.html

按照cmake吧,就不说了,下载源码,改bug

http://bugs.mysql.com/bug.PHP?id=58350
http://lists.mysql.com/commits/126782

编译

CC='/usr/bin/GCc'
CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -Wall -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF'
CXX='/usr/bin/gcc'
CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -felide-constructors -fno-exceptions -fno-rtti -fPIC -Wall -Wno-unused-parameter -fno-implicit-templates -fno-exceptions -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF'
LDFLAGS=''
ASFLAGS=''
cmake -DCMAKE_INSTALL_PREFIX=$MYSQL_HOME
-DDEFAULT_CHARSET=gbk
-DMYSQL_UNIX_ADDR=$MYSQL_HOME/run/mysql.sock
-DWITH_INNOBASE_STORAGE_ENGINE=1
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1
-DWITHOUT_ARCHive_STORAGE_ENGINE=1
-DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1
-DWITHOUT_FEDERATED_STORAGE_ENGINE=1
-DWITHOUT_PARTITION_STORAGE_ENGINE=1
-DWITHOUT_ARCHIVE_STORAGE_ENGINE=1 .

make -j 16

make install

InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins
InnoDB: Compressed tables use zlib 1.2.3
101221 13:51:32 InnoDB: Using linux native aiO
101221 13:51:32 InnoDB: Initializing buffer pool, size = 32.0G
101221 13:51:33 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
101221 13:51:33 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
101221 13:51:33 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 500 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Progress in MB: 100 200 300 400 500
101221 13:51:34 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 500 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Progress in MB: 100 200 300 400 500
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
101221 13:51:37 InnoDB: 1.1.4 started; log sequence number 0
101221 13:51:37 [Warning] 'user' entry 'root@userext4-ztb' ignored in --skip-name-resolve mode.
101221 13:51:37 [Warning] 'user' entry '@userext4-ztb' ignored in --skip-name-resolve mode.
101221 13:51:37 [Warning] 'proxies_priv' entry '@ root@userext4-ztb' ignored in --skip-name-resolve mode.
101221 13:51:37 [Note] Event Scheduler: Loaded 0 events
101221 13:51:37 [Note] /home/oracle/mysql/bin/mysqld: ready for connections.
Version: '5.5.8-log' Socket: '/home/oracle/mysql/run/mysql.sock' port: 3306 Source distribution

您可能感兴趣的文档:

--结束END--

本文标题: try mysql5.5.8

本文链接: https://www.lsjlt.com/news/49203.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
  • try mysql5.5.8
    install mysql558[@more@]首先阅读下官方文档说明http://dev.mysql.com/doc/refman/5.5/en/source-installation.html按照cma...
    99+
    2022-10-18
  • 安装mysql5.5.8提示Error Nr.1364 authentication_string怎么解决
    这篇文章主要介绍“安装mysql5.5.8提示Error Nr.1364 authentication_string怎么解决”,在日常操作中,相信很多人在安装mysql5.5.8提示Error Nr.136...
    99+
    2022-10-18
  • Java使用try-with
    在Java编程过程中,如果打开了外部资源(文件、数据库连接、网络连接等),我们必须在这些外部资源使用完毕后,手动关闭它们。 (推荐学习:java课程)因为外部资源不由JVM管理,无法享用JVM的垃圾回收机制,如果我们不在编程时确保在正...
    99+
    2016-07-22
    java教程 Java
  • python try except 捕获
    try: 2/0 except Exception, e: # error occurred, log 'e', etc print e C:\Python27\python.exe C:/Users/TLCB/Pycharm...
    99+
    2023-01-31
    python
  • 怎么使用Try
    这篇文章主要介绍“怎么使用Try”,在日常操作中,相信很多人在怎么使用Try问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”怎么使用Try”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!Java的Option...
    99+
    2023-06-15
  • try-cache-finally读取文件错误try-with-resources使用方法
    目录引言try-cache-finallytry-with-resourcestry-with-resources 语句能放多个资源,使用 ; 分割try-with-resource...
    99+
    2023-02-13
    try-with-resources读取文件 try-cache-finally
  • python中的异常(try)
    1.异常程序在运行的时候,如果python解释器遇到一个错误,会停止程序的执行,并且提示一些错误的信息,这就是异常我们在程序开发的时候,很难将所有的特殊情况都处理,通过异常捕获可以针对突发事件做集中处理,从而保证程序的健壮性和稳定性 在程序...
    99+
    2023-01-31
    异常 python
  • python try异常处理
    错误和异常: 错误: nameerror 未声明、初始化对象 indexerror 序列中没有此索引 syntaxerror 语法...
    99+
    2023-01-31
    异常 python
  • python学习-python2中try
    一、try...finally高级语言通常都内置了一套try...except...finally...的错误处理机制,Python也不例外.当我们认为某些代码可能会出错时,就可以用try来运行这段代码,如果执行出错,则后续代码不会继续执行...
    99+
    2023-01-31
    python
  • python中try-finally语句
    #!/usr/bin/python 'if error occur when open a file or readline' try: try: ccfile = open('file9',...
    99+
    2023-01-31
    语句 python finally
  • Java try()语句实现try-with-resources异常管理机制操作
    目录Java try()语句实现try-with-resources异常管理机制不使用try-with-resources时,使用的资源要在finally中进行释放使用try-wit...
    99+
    2022-11-12
  • swift错误处理do catch try try!使用的方法是什么
    这篇“swift错误处理do catch try try!使用的方法是什么”文章的知识点大部分人都不太理解,所以小编给大家总结了以下内容,内容详细,步骤清晰,具有一定的借鉴价值,希望大家阅读完这篇文章能有所收获...
    99+
    2023-07-05
  • python之try except的使用
    1.try-except常用语法: try仅有一块,但是except可以有多个 try: 可能产生异常的代码块except [ (Error1, Error2, ... ) [as e] ]: 处理异常的代码块1except [...
    99+
    2023-10-11
    python
  • python异常处理--try...except
    在python中,用try来测试可能出现异常的语句,然后用except来处理可能出现的异常,try except的表达形式如下:try:    语句except [exception,[data...]]:  ...
    99+
    2023-01-30
    异常 python
  • Lock wait timeout exceeded; try restarting transaction
    一、问题抛出 在做查询语句时,MySQL 抛出了这样的异常: MySQL server error report:Array ( [0] => Array ( [message] =>...
    99+
    2019-10-20
    Lock wait timeout exceeded; try restarting transaction
  • python 错误处理:try..exc
    python错误继承表:https://docs.python.org/3/library/exceptions.html#exception-hierarchy格式:def 函数():      try:               内容...
    99+
    2023-01-31
    错误 python exc
  • Java异常--常见方法--自定义异常--增强try(try-with-resources)详解
    目录异常方法自定义异常作用定义增强try(try-with-resources)作用条件jdk7jdk9异常方法 //返回此可抛出对象的详细信息消息字符串 public String...
    99+
    2023-03-14
    java自定义异常 java增强try java try-with-resources
  • 写写python中try的使用
    python中try的使用 在 Python 中,try 是用于异常处理的关键字。try 语句的语法如下: try: # 可能会抛出异常的语句块except ExceptionType1: ...
    99+
    2023-09-20
    python java 前端
  • python 异常之 try 的用法
     语法解释: try:      表达式 1(如果表达式,可以成功执行,则执行,跳到 finally 语句) except ExpectErrorType, Argument:   (表达式1 没有做成功,且正好是 Exp...
    99+
    2023-01-31
    异常 python
  • php try catch语句怎么用
    本教程操作环境:windows7系统、PHP7.1版,DELL G3电脑在 PHP 中想要捕获程序中的异常,需要使用 try catch 语句和 throw 关键字来实现。try catch 语句和流程控制语句类似,所以可以通过 try c...
    99+
    2019-06-02
    php try catch
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作