phpmyadmin筑表

WBOY
Release: 2016-06-13 10:47:00
Original
987 people have browsed it

phpmyadmin建表
我用的phpmyadmin 3.5.2.2,新装的,感觉和老版本不太一样。
我建表建库的时候什么错也不抱,也不给我建,不知道什么问题。
我用phpmyadmin建库practice,没建成功,一直显示creating,后来就用命令行建的。
我在practice下面建表:
table name:users add 4 columns
Name Type length/value Default Collation Attributes Null Index A_I Comments
id INT 11 NONE utf8_general_ci 没选 没选 primary 勾选了 没填 
username VARCHAR 10 NONE utf8_general_ci 没选 没选 没选 没选 没填  
password VARCHAR 40 NONE utf8_general_ci 没选 没选 没选 没选 没填
email VARCHAR 30 NONE utf8_general_ci 没选 没选 unique 没选 没填
Storage Engine: INNODB Collation: utf8_general_ci 
这样建表有什么问题吗?我点save什么反应都没有,地下出现一个红框,框里面一个感叹号。
也没什么错误。
我用命令行
create table users
(
id int(11) primary key,
username varchar(10) not null,
password varchar(40) not null,
email varchar(40) not null,
status varchar(10) not null);就可以。

------解决方案--------------------
报错信息也没有吗? 实在不行就用低版本吧,3.5.1 和 3.4 都还不错的。
------解决方案--------------------
能登陆phpmyadmin的话说明数据库链接正常,你看下是不是你的数据库所在目录没有权限呢

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!