Understanding MySQL Internals 3:搭建环境
来源:互联网 发布:大连市软件行业协会 编辑:程序博客网 时间:2024/05/01 09:08
Downloading with free client:
- Download the client if you have not already done so
- Download URL is http://www.bitmover.com/bk-client2.0.shar
- Unpack it and build it:
/bin/sh bk-client2.0.shar
cd bk-client2.0
make
- From the command line run:
./bkf clone bk://project.bkbits.net/Repository workspace
- where project is the name of the hosted project, Repository is one of the repositories of the project, and workspace is where you want the sources to go.
- More information on the client may be had by running
./bkf --help
bkf clone bk://mysql.bkbits.net/mysql-5.1 mysql-5.1 这个是从网上获取源代码
在cflag中加入 –g调试选项
cp compile-pentium-debug compile-generic-debug
vim compile-generic-debug:
#! /bin/sh
path=`dirname $0`
set -- "$@" --with-debug=full
. "$path/SETUP.sh"
#extra_flags="$pentium_cflags $debug_cflags"
extra_flags="-g $debug_cflags"
#extra_configs="$pentium_configs $debug_configs"
extra_configs="--prefix=/data/randyxu/mysql_gdb/"
. "$path/FINISH.sh"
~
Cd mysql_src/
BUILD/ compile-generic-debug
Make install 安装到/data/randyxu/mysql_gdb/
groupadd mysql
useradd -g mysql mysql
cd /data/randyxu/mysql_gdb/
./mysql_install_db
cd ..
chown mysql. ./var/ -R
启动:cd bin;./mysqld_safe &
停止:cd bin;./mysqladmin shutdown
连接 mysql –h127.0.0.1 –uroot -p
- Understanding MySQL Internals 3:搭建环境
- Understanding MySQL Internals
- Understanding MySQL Internals 2:模块图解
- Understanding MySQL Internals 1:学生应该如此这般的学习mysql
- 好书推荐-英文原版【Understanding MySQL Internals】(附下载地址)
- Understanding Linux Network Internals
- 【转载】Understanding JVM Internals
- Understanding JVM Internals
- Understanding JVM Internals
- Understanding Linux Network Internals
- Understanding JVM Internals
- Understanding JVM Internals
- understanding-jvm-internals
- MySQL Internals
- 《Understanding Linux Network Internals》 第一章序言
- Understanding Linux Network Internals-1. OverAll
- Understanding Linux Network Internals-3. Copyright
- Understanding Linux Network Internals-4. Preface
- How to make DIV element floating over select list.
- javacript实现TreeView中checkBox的选择
- VirtualAllocEx 跨进程读写数据 代码注入
- jsp实现文件上传
- c# 反射的用法
- Understanding MySQL Internals 3:搭建环境
- ACE环境构建笔记(Linux)
- CString如何转COleDateTime
- 通用不间断滚动JS封装类
- C-51的数据存储区域与性能
- Cool! XDialogHeader
- 静态编译wxWidgets 2.8.7
- 用FFDShow进行WMV编码
- 缓存AOP编程的文摘(java例子),数据缓存切入编程的文章。【截取】