phpmyadmin4.6怎么安装配置
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了phpmyadmin4.6怎么安装配置相关的知识,希望对你有一定的参考价值。
参考技术A hpMyAdmin功能:phpMyAdmin可以管理整个mysql服务器(需要超级用户),也可以管理单个数据库。为了实现后一种,你将需要合理设置MySQL用户,他只能对允许的数据库进行读/写。那要等到你看过MySQL手册中相关的部分。
phpMyAdmin安装教程
1.下载多国语言包
解压好后更名为 phpmyadmin 注意全是小写的,把它放在 \文件夹\htdocs下
2.将config.sample.inc.php 更名为 config.inc.php
3,配制 config.inc.php
修改 $cfg['Servers'][$i]['controluser'] 把前面的 //去掉,在后面写上数据库名字 如 'root'
$cfg['Servers'][$i]['controlpass'] 把前面的// 去掉,在后面写上数据库密码,如'123'
修改$cfg['blowfish_secret'] = '' 在后面'' 里面随便填上几个数字 '456'
4. 配制服务器的php.ini
将php下的 libmcrypt.dll 复制到 C:\WINDOWS\system32
修改php.ini
将 ;extension=php_mcrypt.dll前的;去掉
5,重启apache即可
安装过程
PhpMyAdmin安装包下载安装
解压
将下载文件解压缩到 WEB 访问路径下。文件目录如phpmyadmin。
配置文件
然后配置目录下libraries文件下的 config.default.php 文件。
$cfg['PmaAbsoluteUri'] = ‘http://localhost/phpmyadmin’;
$cfg['blowfish_secret'] = ’123456′;
$cfg['DefaultLang'] = ‘zh-gb2312′;
$cfg['DefaultCharset'] = ‘gb2312′;
$cfg['Servers'][$i]['auth_type'] = ‘cookie’;
保存之后,在浏览器里输入:http://localhost/phpmyadmin/user_password.php
更新日志
phpMyAdmin V4.5.1
- issue Invalid argument supplied for foreach()
- issue array_key_exists() expects parameter 2 to be array
- issue #11480 Notice Undefined index: drop_database
- issue #11486 Server variable edition in ANSI_QUOTES sql_mode: losing current value
- issue #11491 Propose table structure broken
- issue #11464 phpMyAdmin suggests upgrading to newer version not usable on that system
- issue #11495 'PMA_Microhistory' is undefined
- issue #11496 Incorrect definition for getTablesWhenOpen()
- issue #11500 Error when creating new user on MariaDB 10.0.21
- issue #11505 Notice on htmlspecialchars()
- issue Notice in Structure page of views
- issue #11510 AUTO_INCREMENT always exported when IF NOT EXISTS is on
- issue #11516 Some partitions are missing in copied table
- issue #11521 Notice of undefined variable when performing SHOW CREATE
- issue #11509 Error exporting sql query results with table alias
- issue #11512 SQL editing window does not recognise 'OUTER' keyword in 'LEFT OUTER JOIN'
- issue #11518 "NOT IN" clause not recognized (MySQL 5.6 and 5.7)
- issue #11524 Yellow star does not change in database Structure after add/remove from favorites
- issue #11531 Invalid SQL in table definition when exporting table
- issue #11526 Foreign key to other database's tables fails
- issue #11519 Bug while exporting results when a joined table field name is in SELECT query
- issue #11522 Strange behavior on table rename
- issue #11539 Rename table does not result in refresh in left panel
- issue #11541 Missing arguments for PMA_Table::generateAlter()
- issue #11544 Notices about undefined indexes on structure pages of information_schema tables
- issue Change minimum PHP version for Composer
- issue #11542 Import parser and backslash
- issue #11546 "Visualize GIS data" seems to be broken
- issue #11548 Confirm box on "Reset slave" option
- issue Fix cookies clearing on version change
- issue #11558 Cannot execute SQL with subquery
- issue #11520 Incorrect syntax creating a user using mysql_native_password with MariaDB
- issue #11561 Cannot use third party auth plugins
phpMyAdmin 4.3.11 更新日志
# SQL链接错误4774是完全错误的
错误4768:# MariaDB版本不匹配
错误4777缺少#一些图像设计师原创主题
错误4767:在细雨# mysql_charsets.inc.php未定义的索引
错误4753正常场#和多线领域有不同的利润率
错误4760不能重新导入设置#从本地存储
错误4778 SQL数据库列表时出错#通过附加的列进行排序
错误4780注意#时间戳列没有默认值
phpMyAdmin V4.4.6.1 Final
[安全] CSRF漏洞安装
[安全]漏洞允许中间人攻击
phpMyAdmin V4.5.5 更新内容:
Fixes include improvements to changing passwords on newer MariaDB servers and several fixes to the SQL parser which will resolve some errors users encountered entering commands in the SQL tab.
phpmyadmin怎么创建表
我用的是MYSQL数据库,用PHPMYADMIN管理,在PHPMYADMIN里~我想建一个表,
1。前面这个我知道是起表名的,后面那个我翻译了一下,说是字段数的,由于我只要一个字段就够了,所以我填了1。
名字:表名 Number of fields: 字段数
2。进入后,要填字段类型这些,由于选项全是英文,创建了几次总提示出错,里面共有八个要填的。我不知道该怎么填,我这个字段主要是来储存一些超链接的,应该怎么选择呢?那些英文就是选项
字段
类型 VARCHAR TINYINT TEXT DATE SMALLINT MEDIUMINT INT BIGINT FLOAT DOUBLE DECIMAL DATETIME TIMESTAMP TIME YEAR CHAR TINYBLOB TINYTEXT BLOB MEDIUMBLOB MEDIUMTEXT LONGBLOB LONGTEXT ENUM SET BIT BOOL BINARY VARBINARY
长度/值*1
整理 armscii8_bin armscii8_general_ci ascii_bin ascii_general_ci big5_bin big5_chinese_ci binary cp1250_bin cp1250_croatian_ci cp1250_czech_cs cp1250_general_ci cp1251_bin cp1251_bulgarian_ci cp1251_general_ci cp1251_general_cs cp1251_ukrainian_ci cp1256_bin cp1256_general_ci cp1257_bin cp1257_general_ci cp1257_lithuanian_ci cp850_bin cp850_general_ci cp852_bin cp852_general_ci cp866_bin cp866_general_ci cp932_bin cp932_japanese_ci dec8_bin dec8_swedish_ci eucjpms_bin eucjpms_japanese_ci euckr_bin euckr_korean_ci gb2312_bin gb2312_chinese_ci gbk_bin gbk_chinese_ci geostd8_bin geostd8_general_ci greek_bin greek_general_ci hebrew_bin hebrew_general_ci hp8_bin hp8_english_ci keybcs2_bin keybcs2_general_ci koi8r_bin koi8r_general_ci koi8u_bin koi8u_general_ci latin1_bin latin1_danish_ci latin1_general_ci latin1_general_cs latin1_german1_ci latin1_german2_ci latin1_spanish_ci latin1_swedish_ci latin2_bin latin2_croatian_ci latin2_czech_cs latin2_general_ci latin2_hungarian_ci latin5_bin latin5_turkish_ci latin7_bin latin7_estonian_cs latin7_general_ci latin7_general_cs macce_bin macce_general_ci macroman_bin macroman_general_ci sjis_bin sjis_japanese_ci swe7_bin swe7_swedish_ci tis620_bin tis620_thai_ci ucs2_bin ucs2_czech_ci ucs2_danish_ci ucs2_esperanto_ci ucs2_estonian_ci ucs2_general_ci ucs2_hungarian_ci ucs2_icelandic_ci ucs2_latvian_ci ucs2_lithuanian_ci ucs2_persian_ci ucs2_polish_ci ucs2_roman_ci ucs2_romanian_ci ucs2_slovak_ci ucs2_slovenian_ci ucs2_spanish2_ci ucs2_spanish_ci ucs2_swedish_ci ucs2_turkish_ci ucs2_unicode_ci ujis_bin ujis_japanese_ci utf8_bin utf8_czech_ci utf8_danish_ci utf8_esperanto_ci utf8_estonian_ci utf8_general_ci utf8_hungarian_ci utf8_icelandic_ci utf8_latvian_ci utf8_lithuanian_ci utf8_persian_ci utf8_polish_ci utf8_roman_ci utf8_romanian_ci utf8_slovak_ci utf8_slovenian_ci utf8_spanish2_ci utf8_spanish_ci utf8_swedish_ci utf8_turkish_ci utf8_unicode_ci
属性 UNSIGNED UNSIGNED ZEROFILL ON UPDATE CURRENT_TIMESTAMP
Null not null null
默认2
CURRENT_TIMESTAMP
额外
结构化phpmyadmin建表方法如下:
1、成功登录phpmyadmin后,点击右侧上的“结构”选项,在结构选项卡的下方有个创建数据库表,然后输入表名字和表的字段数。然后点击执行,如下图所示。
2、在phpmyadmin建表详细页面上,添加需要的字段名称,以及属性什么的,如果还想增加字段可以在上面输入字段数,点击执行,把要建表的属性什么都填好后,点击保存,如下图所示。
3、点击后,提示创建数据表成功,表示phpmyadmin建表成功,如下图所示。
参考技术A 字段:你的字段名称,比如“Url”,建议用英文名。类型: 选VARCHAR,这是存储字符类型的,而且会根据你存入的数据大小自动调成存储空间。
长度/值:填128,存储大小的上限,一般一个链接地址128个字节足够了。
整理:看你的网页的设计了,一般采用utf8_general_ci,这样保证在phpMyAdmin里面看到的中文也不会乱码,不过一般链接里不会有中文,所以一般不会有问题。
其余的不用填。本回答被提问者采纳 参考技术B 字段选 CHAR 长度50
整理选 gb2312 gb2312_chinese_ci
存链接最好是:utf8 utf8_unicode_ci
以上是关于phpmyadmin4.6怎么安装配置的主要内容,如果未能解决你的问题,请参考以下文章