search
Homephp教程php手册mysql与Navicat for MySQL的衔接配置问题【原创】 - 橙色时光

首先改一下php的配置文件:

这里主要该两个地方:
Cirl + F 查找到mysql.dll

然后去掉前面的";"

然后是修改路径:
Cirl + F 查找到extension_dir

然后改掉后面的路径,因人而异,最后的路径修改为php的安装路径/ext

如:博主的php安装路径为:F:\wwwsever\php-5.3.4

则:

关于Navicat for MySQL软件的注册码问题,博主这里提供一个注册机,是博主的百度云地址:

http://pan.baidu.com/s/1i5NJyHv

大家可以从这里下载好注册机后按照使用说明进行安装。

一般安装完成后点击帮助->关于... 若你的注册码下面没有未激活三字,表明你已经获得了永久使用权。

接下来是代码导入:
老师给的文件是sql 类型,故不能直接导入(此话作废),这里使用Navicat for MySQL软件 :
具体方法为:

工具-》命令列界面

这时会出现一个类似于命令行的界面

在这个界面中创建数据库:

create database 数据库名

GO

use 数据库名

GO

方法1、右击左侧创建好的数据库名字,然后点击“运行SQL文件”

方法2、复制老师的代码

Enter

刷新左面会看到新生成的表

关于上节课作业的具体代码在另一篇博文中。,此处省略。

 

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)