博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
build MYSQL source code Using visual studio 2017
阅读量:5020 次
发布时间:2019-06-12

本文共 1406 字,大约阅读时间需要 4 分钟。

 

cmake .. -G "Visual Studio 14 2015 Win64" -DDOWNLOAD_BOOST=1  -DWITH_BOOST=boostdir -DOPENSSL_ROOT_DIR=OpenSSL-Win64 -DOPENSSL_LIBRARIES=OpenSSL-Win64/lib

 

--defaults-extra-file=D:\mysqlsource\mysql-server-8.0\mysql-server-8.0\bld\sql\my.ini --user=mysql --datadir=D:\mysqlsource\mysql-server-8.0\mysql-server-8.0\bld\sql\data  

 

 mysql --host=localhost --user=myname --password=password mydb

mysql --host=remote.example.com --port=13306

 

以特定的port启东MYSQL

mysqld  -u root --port=33066

 

  D:\mysqlsource\mysql-server-8.0\mysql-server-8.0\bld\runtime_output_directory\Debug\mysql --host=localhost --user=root --password   --port=33066

 

netstat -a -b

 

https://www.cloudinsidr.com/content/how-to-install-the-most-recent-version-of-openssl-on-windows-10-in-64-bit/

https://slproweb.com/products/Win32OpenSSL.html

 

It is a common misunderstanding: CMake does not need environment variables to know where the library and include dir are but CMake variables.

Since CMake can not find your OpenSSL lib and include directory, you will have to manually tell him where they are with its command line when you call it. Use the option -D to set constants in CMake from the command line. You will need to set the constants OPENSSL_ROOT_DIR and OPENSSL_LIBRARIES since they are the one triggering the error.

cmake -DOPENSSL_ROOT_DIR=/usr/local/ssl -DOPENSSL_LIBRARIES=/usr/local/ssl/lib

转载于:https://www.cnblogs.com/WCFGROUP/p/10217675.html

你可能感兴趣的文章
对 COM 组件的调用返回了错误 HRESULT E_FAIL。ERROR 000622:
查看>>
Ant Design Mobile 报Cannot find module 'react-scripts/package.json' 错误
查看>>
Excel数据批量导入到数据库2
查看>>
*15. 3Sum (three pointers to two pointers), hashset
查看>>
[转]c++指针|指针入门
查看>>
day15 - 图像和办公文档处理
查看>>
选项卡+轮播的实现
查看>>
java基本数据类型转换
查看>>
SpringBoot整合Redis
查看>>
vue 入坑02 解析webpack的编译打包
查看>>
ubuntu12.04 telnet配置
查看>>
sublime安装PackageControl提示失败(被墙了)
查看>>
1、Sql-oracle-日期问题
查看>>
JSTree如何实现第二级菜单异步从数据库读取。
查看>>
[UE4]区分队友
查看>>
安装GRID时跑root.sh脚本报错(ORA-27091: unable to queue I/O)
查看>>
Select算法(最坏复杂度O(n))
查看>>
SFTP的使用
查看>>
Hybris电商方案介绍(企业全渠道) B2B B2C O2O建设
查看>>
删除文件以后,如何通过git撤销删除的文件,不提交到远端代码库
查看>>