解决Coldfusion连接MySQL数据库的问题
2024-08-30 16:37:51
在连接MySQL时,出现了如下错误:
Connections to MySQL Community Server are not supported. Please contact MySQL to obtain a MySQL Enterprise or Commercial version.
解决方案:
step 1:
- download the JDBC driver JDBC Driver for MySQL (Connector/J) here: http://dev.mysql.com/downloads/connector/j/.
- in the Platform select box, choose platform independent
- next, choose the tar or zip version appropriate for your platform. If you don't know which to pick, choose the zip version.
- next, on the screen titled "Begin Your Download - mysql-connector-java-5.1.35.zip", scroll to the bottom and choose the small link "No thanks, just start my download."
- finally, once the download completes, extract "mysql-connector-java-5.1.35-bin.jar" and put it in the lib directory of your CF install. For me it is located at: cfusion\lib (your platform and coldfusion edition impacts the path for you.
- restart ColdFusion and validate your datasource in the ColdFusion Administrator.
step 2:
After you copy the JAR file to the /lib directory, you have to restart ColdFusion. Then you will be sure that the changes will take effect.
In the Administrator, give your new datasource a name. Select MySQL 5 from the list.
Press the Add button to create the datasource. You should then get the following user interface:
This contains the details of my database. Enter the details for yours. Press the Submit button.
最新文章
- Canvas——使用定时器模拟动态加载动画!
- 30种oracle常见的等待事件说明
- 09-IOSCore - 应用互动、UIImagePickerController
- ToDictionary用法
- 在多个Activity中回传值(startActivityForResult())
- C# 对xml进行操作
- 常见C++面试题及基本知识点总结(一)
- Jquery实现两级联动
- IE下获取XPATH小工具,支持32/64位
- Mybatis分页插件——PageHelper
- 理解DP(持续更新)
- logstash解耦之redis消息队列
- 【angularjs】使用angular搭建项目,pc端实现网页中的内容不可复制
- Django之Models(一)
- centos 7 之nginx
- SQL MAP 注入测试
- Python中的and/or
- java的两种冒泡算法
- R语言:克里金插值
- USB.资料
热门文章
- 888. Fair Candy Swap@python
- python虚拟环境的搭建及作用
- 电源模块PCB设计
- vs2017编译boost 1.70.0
- luogu1494 [国家集训队]小Z的袜子
- 用AOP来让你的JS代码变得更有可维护性吧
- 2016上海站EC-final总结!
- BZOJ4373 算术天才与等差数列 题解
- 认识Linux文件系统的架构
- 出现 Assigning the return value of new by reference is deprecated in xxxx &;&;“Warning: Call-time pass-by-reference has been deprecated”怎么办?