在连接MySQL时,出现了如下错误:

Connections to MySQL Community Server are not supported. Please contact MySQL to obtain a MySQL Enterprise or Commercial version.

解决方案:

step 1:

  1. download the JDBC driver JDBC Driver for MySQL (Connector/J) here: http://dev.mysql.com/downloads/connector/j/.
  2. in the Platform select box, choose platform independent
  3. next, choose the tar or zip version appropriate for your platform. If you don't know which to pick, choose the zip version.
  4. 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."
  5. 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.
  6. 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.

最新文章

  1. Canvas——使用定时器模拟动态加载动画!
  2. 30种oracle常见的等待事件说明
  3. 09-IOSCore - 应用互动、UIImagePickerController
  4. ToDictionary用法
  5. 在多个Activity中回传值(startActivityForResult())
  6. C# 对xml进行操作
  7. 常见C++面试题及基本知识点总结(一)
  8. Jquery实现两级联动
  9. IE下获取XPATH小工具,支持32/64位
  10. Mybatis分页插件——PageHelper
  11. 理解DP(持续更新)
  12. logstash解耦之redis消息队列
  13. 【angularjs】使用angular搭建项目,pc端实现网页中的内容不可复制
  14. Django之Models(一)
  15. centos 7 之nginx
  16. SQL MAP 注入测试
  17. Python中的and/or
  18. java的两种冒泡算法
  19. R语言:克里金插值
  20. USB.资料

热门文章

  1. 888. Fair Candy Swap@python
  2. python虚拟环境的搭建及作用
  3. 电源模块PCB设计
  4. vs2017编译boost 1.70.0
  5. luogu1494 [国家集训队]小Z的袜子
  6. 用AOP来让你的JS代码变得更有可维护性吧
  7. 2016上海站EC-final总结!
  8. BZOJ4373 算术天才与等差数列 题解
  9. 认识Linux文件系统的架构
  10. 出现 Assigning the return value of new by reference is deprecated in xxxx &&“Warning: Call-time pass-by-reference has been deprecated”怎么办?