Mysql+DreamweaverCS3数据源配置?解决方法
Mysql+DreamweaverCS3数据源配置???
我安装了mysql-odbc驱动,在控制面板-管理工具-ODBC数据源里配置好Mysql源了,测试显示连接成功。
回到Dreamweaver.
在“数据库”栏里,1.为该文件创建站点前有勾。
2.选择一种文档类型前也有勾。(我选的是PHP)
3.设置站点的测试服务器前面没有勾。
我的MySQL安装在D:\Mysql里,我的Apache安装在D:\apche里。http://localhost指向的是D:\Apache Software Foundation\Apache2.2\htdocs。我把测试服务器也指向了这里。
在DramWeaver里添加Mysql连接,连接名称,MySQL服务器名称,用户名,密码,数据库名称点“选取”按钮,弹出警告:
1)在该服务器机器上没有测试服务器运行
2)为该站点指定的测试服务器没有映射到http://localhost/_mmServerScripts/MMHTTPDB.phpURL.请确认URL前缀映射到了您站点的根上。
确定以后又弹出错误警告,内容和上面一样。
总之,ODBC数据源配置成功以后,Dreamweaver的测试服务器问题配不好,我该怎么办?
------解决方案--------------------
我记得站点配置时应该加上端口
------解决方案--------------------
不用配置odbc
如果用的是php的话 直接MySQL服务器名称,用户名,密码,
服务器 后面要写上端口号:3306 (你自己的mysql设置的端口)

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











MySQL and phpMyAdmin are powerful database management tools. 1) MySQL is used to create databases and tables, and to execute DML and SQL queries. 2) phpMyAdmin provides an intuitive interface for database management, table structure management, data operations and user permission management.

Compared with other programming languages, MySQL is mainly used to store and manage data, while other languages such as Python, Java, and C are used for logical processing and application development. MySQL is known for its high performance, scalability and cross-platform support, suitable for data management needs, while other languages have advantages in their respective fields such as data analytics, enterprise applications, and system programming.

In MySQL, the function of foreign keys is to establish the relationship between tables and ensure the consistency and integrity of the data. Foreign keys maintain the effectiveness of data through reference integrity checks and cascading operations. Pay attention to performance optimization and avoid common errors when using them.

Safely handle functions and regular expressions in JSON In front-end development, JavaScript is often required...

The main difference between MySQL and MariaDB is performance, functionality and license: 1. MySQL is developed by Oracle, and MariaDB is its fork. 2. MariaDB may perform better in high load environments. 3.MariaDB provides more storage engines and functions. 4.MySQL adopts a dual license, and MariaDB is completely open source. The existing infrastructure, performance requirements, functional requirements and license costs should be taken into account when choosing.

SQL is a standard language for managing relational databases, while MySQL is a database management system that uses SQL. SQL defines ways to interact with a database, including CRUD operations, while MySQL implements the SQL standard and provides additional features such as stored procedures and triggers.

Display and processing of percentage numbers in Java In Java programming, the need to process and display percentage numbers is very common, for example, when processing Excel tables...

Analysis of the reason why Python script cannot be found when submitting a PyFlink job on YARN When you try to submit a PyFlink job through YARN, you may encounter...
