- ubuntu12.04环境下使用kvm ioctl接口实现最简单的虚拟机
- Ubuntu 通过无线网络安装Ubuntu Server启动系统后连接无线网络的方法
- 在Ubuntu上搭建网桥的方法
- ubuntu 虚拟机上网方式及相关配置详解
CFSDN坚持开源创造价值,我们致力于搭建一个资源共享平台,让每一个IT人在这里找到属于你的精彩世界.
这篇CFSDN的博客文章分享CentOS下MySQL最新版本5.6.13源码安装过程由作者收集整理,如果你对这篇文章有兴趣,记得点赞哟.
2个月前公司给DBA的测试服务器被收回去了,一直跟开发用一组DB,有些需要测试的小功能,需要不断重启db,为了不影响开发同事,自己又申请了一个虚拟机,准备安装最新的5.6.13版本的MySQL社区版.
1 download the tar.gz 。
wget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.13.tar.gz/from/http://cdn.mysql.com/ 。
2 安装cmake软件包 。
yum install cmake 。
3 create account of mysql 。
groupadd mysql 。
useradd -g mysql mysql 。
autoreconf --force --install 。
libtoolize --automake --force 。
automake --force --add-missing 。
4 complie the sources 。
mkdir -p /data/mbdata 。
tar -xvf mysql-5.6.13.tar.gz 。
5 cmake 。
time cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql56 -DMYSQL_DATADIR=/data56 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DMYSQL_UNIX_ADDR==/data56/mysql.sock -DMYSQL_USER=mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci 。
[root@472322 mysql-5.6.13]# time cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql56 -DMYSQL_DATADIR=/data56 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DMYSQL_UNIX_ADDR==/data56/mysql.sock -DMYSQL_USER=mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci 。
-- Running cmake version 2.6.4 。
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. 。
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 。
Missing variable is
CMAKE_C_COMPILER_ENV_VAR 。
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 。
Missing variable is
CMAKE_C_COMPILER 。
CMake Error: Could not find cmake module file:/root/mysql-5.6.13/CMakeFiles/CMakeCCompiler.cmake 。
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 。
Missing variable is
CMAKE_CXX_COMPILER_ENV_VAR 。
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 。
Missing variable is
CMAKE_CXX_COMPILER 。
CMake Error: Could not find cmake module file:/root/mysql-5.6.13/CMakeFiles/CMakeCXXCompiler.cmake 。
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage 。
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage 。
-- Configuring incomplete, errors occurred.
real 0m0.017s 。
user 0m0.006s 。
sys 0m0.005s 。
6 上一步cmake报错了,google得知需要重新yum make下 。
yum install make 。
ok 。
再继续去cmake 。
[root@472322 mysql-5.6.13]# time cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql56 -DMYSQL_DATADIR=/data56 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DMYSQL_UNIX_ADDR==/data56/mysql.sock -DMYSQL_USER=mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci 。
-- Running cmake version 2.6.4 。
-- The C compiler identification is unknown 。
-- The CXX compiler identification is unknown 。
CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name. 。
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name. 。
-- MySQL 5.6.13 。
-- Packaging as: mysql-5.6.13-Linux-x86_64 。
-- Could NOT find Threads (missing: Threads_FOUND) 。
-- Could NOT find Threads (missing: Threads_FOUND) 。
-- Check if the system is big endian 。
-- Searching 16 bit integer 。
CMake Error at /usr/share/cmake/Modules/TestBigEndian.cmake:31 (MESSAGE)
no suitable type found 。
Call Stack (most recent call first)
configure.cmake:621 (TEST_BIG_ENDIAN) 。
CMakeLists.txt:314 (INCLUDE) 。
这个错误很诡异,google上面有很多,但是每种情况都不同,我只好一个个去try了 。
-- Configuring incomplete, errors occurred.
real 0m0.122s 。
user 0m0.067s 。
sys 0m0.048s 。
[root@472322 mysql-5.6.13]# 。
报错如下: CMake Error: your C compiler: "CMAKE_C_COMPILER-NOTFOUND" was not found. 。
没有安装 gcc 和 gcc-c++,执行cmake报如上错误:
第一次尝试,执行 。
yum install -y gcc 。
yum install -y gcc-c++ 。
Ok,yum成功 。
7 继续cmake 。
time cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql56 -DMYSQL_DATADIR=/data56 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DMYSQL_UNIX_ADDR==/data56/mysql.sock -DMYSQL_USER=mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci 。
[root@472322 mysql-5.6.13]# 。
time cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql56 -DMYSQL_DATADIR=/data56 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DMYSQL_UNIX_ADDR==/data56/mysql.sock -DMYSQL_USER=mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci 。
-- Running cmake version 2.6.4 。
-- The C compiler identification is GNU 。
-- The CXX compiler identification is GNU 。
-- Check for working C compiler: /usr/bin/gcc 。
-- Check for working C compiler: /usr/bin/gcc -- works 。
-- Detecting C compiler ABI info 。
-- Detecting C compiler ABI info - done 。
-- Check for working CXX compiler: /usr/bin/c++ 。
-- Check for working CXX compiler: /usr/bin/c++ -- works 。
-- Detecting CXX compiler ABI info 。
-- Detecting CXX compiler ABI info - done 。
-- MySQL 5.6.13 。
-- Packaging as: mysql-5.6.13-Linux-x86_64 。
-- Could NOT find Threads (missing: Threads_FOUND) 。
-- Could NOT find Threads (missing: Threads_FOUND) 。
-- Check if the system is big endian 。
-- Searching 16 bit integer 。
CMake Error at /usr/share/cmake/Modules/TestBigEndian.cmake:31 (MESSAGE)
no suitable type found 。
Call Stack (most recent call first)
configure.cmake:621 (TEST_BIG_ENDIAN) 。
CMakeLists.txt:314 (INCLUDE) 。
-- Configuring incomplete, errors occurred.
real 0m0.510s 。
user 0m0.275s 。
sys 0m0.112s 。
第二次尝试,有人说需要安装至少5种包 。
[root@472322 mysql-5.6.13]# 。
yum install gcc gcc-c++ 。
yum install -y ncurses-devel.x86_64 。
yum install -y cmake.x86_64 。
yum install -y libaio.x86_64 。
yum install -y bison.x86_64 。
yum install -y gcc-c++.x86_64 。
然后再cmake,还是报原来的错误 。
最后决定用土办法了,删除所有的已经安装过的,重新再来做一遍吧.
[解决办法]:删除原来的mysql-5.6.13目录,重新解压缩tar.gz包 。
rm -rf /root/mysql-5.6.13 。
cd /root/ 。
tar -xvf mysql-5.6.13.tar.gz 。
cd /root/mysql-5.6.13 。
time cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql56 -DMYSQL_DATADIR=/data56 -DWITH_INNOBASE_STORAGE_ENGINE=1 -DMYSQL_UNIX_ADDR==/data56/mysql.sock -DMYSQL_USER=mysql -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci 。
........ 。
-- Looking for asprintf 。
-- Looking for asprintf - found 。
-- Check size of pthread_t 。
-- Check size of pthread_t - done 。
-- Using cmake version 2.6.4 。
-- Not building NDB 。
-- Performing Test HAVE_PEERCRED 。
-- Performing Test HAVE_PEERCRED - Success 。
-- Library mysqlclient depends on OSLIBS -lpthread;m;rt;dl 。
-- Googlemock was not found. gtest-based unit tests will be disabled. You can run cmake . -DENABLE_DOWNLOADS=1 to automatically download and build required components from source. 。
-- If you are inside a firewall, you may need to use an http proxy: export http_proxy=http://foo.bar.com:80 。
-- Library mysqlserver depends on OSLIBS -lpthread;m;rt;crypt;dl 。
-- Configuring done 。
-- Generating done 。
-- Build files have been written to: /root/mysql-5.6.13 。
real 0m23.413s 。
user 0m13.815s 。
sys 0m7.419s 。
OK,成功了,对linux底层不太熟悉,难道是因为前面没有事先安装好各种包而cmake出来错误的东西导致后面继续cmake就一直报错吗? 是否是需要准备好各种lib包然后才能yum install cmake呢?然后再安装mysql才能不报错呢?
8 build the db directy 。
time make 。
time make install 。
9 init db 。
ll /usr/local/mysql56/ 。
cd /usr/local/mysql56/ 。
chown -R mysql . 。
chgrp -R mysql . 。
cp support-files/my-default.cnf /etc/my56.cnf 。
scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql56 --datadir=/data56 --defaults-file=/etc/my56.cnf 。
[root@472322 mysql56]# scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql56 --datadir=/data56 --defaults-file=/etc/my56.cnf 。
Installing MySQL system tables...2013-08-22 05:06:03 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 。
2013-08-22 05:06:03 19416 [Note] InnoDB: The InnoDB memory heap is disabled 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Compressed tables use zlib 1.2.3 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Using CPU crc32 instructions 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Initializing buffer pool, size = 128.0M 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Completed initialization of buffer pool 。
2013-08-22 05:06:03 19416 [Note] InnoDB: The first specified data file ./ibdata1 did not exist: a new database to be created.
2013-08-22 05:06:03 19416 [Note] InnoDB: Setting file ./ibdata1 size to 12 MB 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Database physically writes the file full: wait... 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Setting log file ./ib_logfile101 size to 48 MB 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Setting log file ./ib_logfile1 size to 48 MB 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Renaming log file ./ib_logfile101 to ./ib_logfile0 。
2013-08-22 05:06:03 19416 [Warning] InnoDB: New log files created, LSN=45781 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Doublewrite buffer not found: creating new 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Doublewrite buffer created 。
2013-08-22 05:06:03 19416 [Note] InnoDB: 128 rollback segment(s) are active. 。
2013-08-22 05:06:03 19416 [Warning] InnoDB: Creating foreign key constraint system tables. 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Foreign key constraint system tables created 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Creating tablespace and datafile system tables. 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Tablespace and datafile system tables created. 。
2013-08-22 05:06:03 19416 [Note] InnoDB: Waiting for purge to start 。
2013-08-22 05:06:03 19416 [Note] InnoDB: 5.6.13 started; log sequence number 0 。
2013-08-22 05:06:04 19416 [Note] Binlog end 。
2013-08-22 05:06:04 19416 [Note] InnoDB: FTS optimize thread exiting. 。
2013-08-22 05:06:04 19416 [Note] InnoDB: Starting shutdown... 。
2013-08-22 05:06:05 19416 [Note] InnoDB: Shutdown completed; log sequence number 1625977 。
OK 。
Filling help tables...2013-08-22 05:06:05 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 。
2013-08-22 05:06:05 19439 [Note] InnoDB: The InnoDB memory heap is disabled 。
2013-08-22 05:06:05 19439 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 。
2013-08-22 05:06:05 19439 [Note] InnoDB: Compressed tables use zlib 1.2.3 。
2013-08-22 05:06:05 19439 [Note] InnoDB: Using CPU crc32 instructions 。
2013-08-22 05:06:05 19439 [Note] InnoDB: Initializing buffer pool, size = 128.0M 。
2013-08-22 05:06:05 19439 [Note] InnoDB: Completed initialization of buffer pool 。
2013-08-22 05:06:05 19439 [Note] InnoDB: Highest supported file format is Barracuda. 。
2013-08-22 05:06:05 19439 [Note] InnoDB: 128 rollback segment(s) are active. 。
2013-08-22 05:06:05 19439 [Note] InnoDB: Waiting for purge to start 。
2013-08-22 05:06:05 19439 [Note] InnoDB: 5.6.13 started; log sequence number 1625977 。
2013-08-22 05:06:05 19439 [Note] Binlog end 。
2013-08-22 05:06:05 19439 [Note] InnoDB: FTS optimize thread exiting. 。
2013-08-22 05:06:05 19439 [Note] InnoDB: Starting shutdown... 。
2013-08-22 05:06:06 19439 [Note] InnoDB: Shutdown completed; log sequence number 1625987 。
OK 。
To start mysqld at boot time you have to copy 。
support-files/mysql.server to the right place for your system 。
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER .
To do so, start the server, then issue the following commands
/usr/local/mysql56/bin/mysqladmin -u root password 'new-password' 。
/usr/local/mysql56/bin/mysqladmin -u root -h 472322.ea.com password 'new-password' 。
Alternatively you can run
/usr/local/mysql56/bin/mysql_secure_installation 。
which will also give you the option of removing the test 。
databases and anonymous user created by default. This is 。
strongly recommended for production servers. 。
See the manual for more instructions. 。
You can start the MySQL daemon with
cd . ; /usr/local/mysql56/bin/mysqld_safe & 。
You can test the MySQL daemon with mysql-test-run.pl 。
cd mysql-test ; perl mysql-test-run.pl 。
Please report any problems with the ./bin/mysqlbug script.
The latest information about MySQL is available on the web at 。
http://www.mysql.com 。
Support MySQL by buying support/licenses at http://shop.mysql.com 。
New default config file was created as /usr/local/mysql56/my.cnf and 。
will be used by default by the server when you start it. 。
You may edit this file to change server settings 。
WARNING: Default config file /etc/my.cnf exists on the system 。
This file will be read by default by the MySQL server 。
If you do not want to use this, either remove it, or use the 。
--defaults-file argument to mysqld_safe when starting the server 。
感到信息有warning,那就重新再执行一遍,原来在做5.6.10安装测试的时候,init db不管第一次执行失败或者成功,都可以再执行第二遍的.
[root@472322 mysql56]# 。
[root@472322 mysql56]# ll etc/my56.cnf 。
ls: cannot access etc/my56.cnf: No such file or directory 。
[root@472322 mysql56]# ll /etc/my56.cnf 。
-rw-r--r-- 1 root root 1126 Aug 22 05:05 /etc/my56.cnf 。
[root@472322 mysql56]# scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql56 --datadir=/data56 --defaults-file=/etc/my56.cnf 。
Installing MySQL system tables...2013-08-22 05:07:31 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 。
2013-08-22 05:07:31 19481 [Note] InnoDB: The InnoDB memory heap is disabled 。
2013-08-22 05:07:31 19481 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 。
2013-08-22 05:07:31 19481 [Note] InnoDB: Compressed tables use zlib 1.2.3 。
2013-08-22 05:07:31 19481 [Note] InnoDB: Using CPU crc32 instructions 。
2013-08-22 05:07:31 19481 [Note] InnoDB: Initializing buffer pool, size = 128.0M 。
2013-08-22 05:07:31 19481 [Note] InnoDB: Completed initialization of buffer pool 。
2013-08-22 05:07:31 19481 [Note] InnoDB: Highest supported file format is Barracuda. 。
2013-08-22 05:07:31 19481 [Note] InnoDB: 128 rollback segment(s) are active. 。
2013-08-22 05:07:31 19481 [Note] InnoDB: Waiting for purge to start 。
2013-08-22 05:07:31 19481 [Note] InnoDB: 5.6.13 started; log sequence number 1625987 。
2013-08-22 05:07:31 19481 [Note] Binlog end 。
2013-08-22 05:07:31 19481 [Note] InnoDB: FTS optimize thread exiting. 。
2013-08-22 05:07:31 19481 [Note] InnoDB: Starting shutdown... 。
2013-08-22 05:07:32 19481 [Note] InnoDB: Shutdown completed; log sequence number 1625997 。
OK 。
Filling help tables...2013-08-22 05:07:32 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details). 。
2013-08-22 05:07:32 19505 [Note] InnoDB: The InnoDB memory heap is disabled 。
2013-08-22 05:07:32 19505 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 。
2013-08-22 05:07:32 19505 [Note] InnoDB: Compressed tables use zlib 1.2.3 。
2013-08-22 05:07:32 19505 [Note] InnoDB: Using CPU crc32 instructions 。
2013-08-22 05:07:32 19505 [Note] InnoDB: Initializing buffer pool, size = 128.0M 。
2013-08-22 05:07:32 19505 [Note] InnoDB: Completed initialization of buffer pool 。
2013-08-22 05:07:32 19505 [Note] InnoDB: Highest supported file format is Barracuda. 。
2013-08-22 05:07:32 19505 [Note] InnoDB: 128 rollback segment(s) are active. 。
2013-08-22 05:07:32 19505 [Note] InnoDB: Waiting for purge to start 。
2013-08-22 05:07:32 19505 [Note] InnoDB: 5.6.13 started; log sequence number 1625997 。
2013-08-22 05:07:32 19505 [Note] Binlog end 。
2013-08-22 05:07:32 19505 [Note] InnoDB: FTS optimize thread exiting. 。
2013-08-22 05:07:32 19505 [Note] InnoDB: Starting shutdown... 。
2013-08-22 05:07:34 19505 [Note] InnoDB: Shutdown completed; log sequence number 1626007 。
OK 。
To start mysqld at boot time you have to copy 。
support-files/mysql.server to the right place for your system 。
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER .
To do so, start the server, then issue the following commands
/usr/local/mysql56/bin/mysqladmin -u root password 'new-password' 。
/usr/local/mysql56/bin/mysqladmin -u root -h 472322.ea.com password 'new-password' 。
Alternatively you can run
/usr/local/mysql56/bin/mysql_secure_installation 。
which will also give you the option of removing the test 。
databases and anonymous user created by default. This is 。
strongly recommended for production servers. 。
See the manual for more instructions. 。
You can start the MySQL daemon with
cd . ; /usr/local/mysql56/bin/mysqld_safe & 。
You can test the MySQL daemon with mysql-test-run.pl 。
cd mysql-test ; perl mysql-test-run.pl 。
Please report any problems with the ./bin/mysqlbug script.
The latest information about MySQL is available on the web at 。
http://www.mysql.com 。
Support MySQL by buying support/licenses at http://shop.mysql.com 。
WARNING: Found existing config file /usr/local/mysql56/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 /usr/local/mysql56/my-new.cnf.
please compare it with your file and take the changes you need. 。
WARNING: Default config file /etc/my.cnf exists on the system 。
This file will be read by default by the MySQL server 。
If you do not want to use this, either remove it, or use the 。
--defaults-file argument to mysqld_safe when starting the server 。
10 copy start command 。
cp support-files/mysql.server /etc/init.d/mysqld56 。
chmod 700 /etc/init.d/mysqld56 。
echo "export PATH=$PATH:/usr/local/mysql56/bin">>/etc/profile 。
source /etc/profile 。
11 add command to system parameter 。
cd /data56 。
chkconfig --add mysqld56 。
12 start service & check & login 。
service mysqld56 start 。
[root@472322 data56]# service mysqld56 start 。
Starting MySQL. SUCCESS.
[root@472322 data56]# mysql 。
Welcome to the MySQL monitor. Commands end with ; or \g. 。
Your MySQL connection id is 1 。
Server version: 5.6.13 Source distribution 。
Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. 。
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> show databases,
+--------------------+ 。
| Database | 。
+--------------------+ 。
| information_schema | 。
| mysql | 。
| performance_schema | 。
| test | 。
+--------------------+ 。
4 rows in set (0.00 sec) 。
mysql> 。
总结疑问:对linux底层不太熟悉,难道是因为前面没有事先安装好各种包而cmake出来错误的东西导致后面继续cmake就一直报错吗? 是否是需要准备好各种lib包然后才能yum install cmake呢?然后再安装mysql才能不报错呢?
欢迎熟悉linux底层的朋友或者有过这方面的经历的朋友给出宝贵的意见.
最后此篇关于分享CentOS下MySQL最新版本5.6.13源码安装过程的文章就讲到这里了,如果你想了解更多关于分享CentOS下MySQL最新版本5.6.13源码安装过程的内容请搜索CFSDN的文章或继续浏览相关文章,希望大家以后支持我的博客! 。
就目前情况而言,这个问题不太适合我们的问答形式。我们希望答案得到事实、引用资料或专业知识的支持,但这个问题可能会引发辩论、争论、民意调查或扩展讨论。如果您觉得这个问题可以改进并可能重新开放,visit
ECharts是一个纯Javascript的图表库,可以流畅的运行在PC和移动设备上,兼容当前绝大部分浏览器,底层依赖轻量级的Canvas类库ZRender,提供直观、生动、可交互、可高度个性化定制
前言 提示:这里可以添加本文要记录的大概内容: 例如:随着人工智能的不断发展,机器学习这门技术也越来越重要,很多人都开启了学习机器学习,本文就介绍了机器学习的基础内容。 提示:以下是本篇文章正文
作为一名ios开发攻城狮,在苹果没有出arc(自动内存管理机制)时,我们几乎有一半的开发时间都耗费在这么管理内存上.后来苹果很人性的出了arc,虽然在很大程度上,帮助我们开发者节省了精力和时间.但是
如何反转Pandas中DataSeries的排序顺序,以便我按降序使用它们? 最佳答案 In [28]: s = pd.Series([20, 10, 30], ['c', 'a', 'b']) In
这个问题已经有答案了: 已关闭10 年前。 Possible Duplicate: Is jQuery $.browser Deprecated? 最新的 jQuery 库是否发生变化 $.brows
我正在开发一个 Intranet 项目,所以我无法复制/粘贴代码,所以希望我的描述和一些小片段会有所帮助。 我知道 MySQL 触发器无法做到这一点,但希望有一种干净的 JPA PrePersist(
这是数据集: 人员状态日期 埃里克 1 1/1/2015 埃里克 2 2/1/2015 埃里克 3 2015 年 3 月 1 日 约翰福音 1 3/1/2015 约翰福音 2 2015 年 2 月 1
现在我正在使用下面的查询按每篇文章的 auto_increment id 排序 mysql_query("SELECT * FROM articles ORDER BY id DESC"); 我想知道
已结束。此问题不符合 Stack Overflow guidelines .它目前不接受答案。 我们不允许提出有关书籍、工具、软件库等方面的建议的问题。您可以编辑问题,以便用事实和引用来回答它。 关闭
已结束。此问题不符合 Stack Overflow guidelines .它目前不接受答案。 我们不允许提出有关书籍、工具、软件库等方面的建议的问题。您可以编辑问题,以便用事实和引用来回答它。 关闭
现在我正在使用下面的查询按每篇文章的 auto_increment id 排序 mysql_query("SELECT * FROM articles ORDER BY id DESC"); 我想知道
在我们做文章的时候常用一些函数修改来实现自己的页面效果,例如,时间的自定义格式 我们常常需要乃至的,搜集了些有关时间格式的CODE,作大家为参考,希望对大家有些帮助 列表页list_article
我想将某些东西提交到 github 存储库,但我(显然)没有任何权利这样做。我对那个 repo 做了一个分支,提交了我的更改并提交了一个 pull-request。 现在,问题是过了一段时间其他人已经
我是 SQL 新手,所以现有的答案对我来说有点复杂。 我有三张 table : WORKER |id |name |date |... JOB |id |name |salary |accept AP
我正在自动从PowerPoint和Excel电子表格中生成PowerPoint报表。在粘贴表格之前,我已经完成了整个过程。 我使用PPApp.CommandBars.ExecuteMso ("Past
我们有 1 个 Kafka 主题和 1 个分区: 从 spring boot kafka 消费者那里看到一个相当奇怪的行为。 Spring kafka消费者在重新启动时总是从主题的开头开始消费。 我已
通过编程从iOS照片库获取最新照片是否有技巧? 我知道我可以按日期搜索,但是我必须每隔一微秒进行一次扫描,以便进行某种比较以准确地找到它。 有没有人做过这个或任何想法? 最佳答案 我之前采取的一种方法
我们上周将 Web 应用程序中的 Telerik Kendo 库从 V2015.2.902 升级到 V2016.1.112。从那时起,我们注意到使用 Kendo 的页面需要很长时间才能加载(30 秒到
我有两个表: STUDENT GRADES ---------- ---------- id id name person_id ad
我是一名优秀的程序员,十分优秀!