无法选择Latin-1作为PHPMyAdmin中的字符集 [英] Cannot select Latin-1 as the character set in PHPMyAdmin

查看:54
本文介绍了无法选择Latin-1作为PHPMyAdmin中的字符集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试跟随教程.在教程中,讲师演示了如何编辑config.inc文件以将文件夹设置为UploadDir.这使他能够在导入phpmyadmin时从"Web服务器上载目录"下拉菜单中选择该文件夹中的.SQL个文件.我尝试获得帮助,但是无法正常工作.因此,我只想浏览文件并导入.我能够做到这一点,但后来我想像教练一样为字符集选择"Latin-1",但对我来说没有选择.我不知道这是否真的很重要(我想是的,否则他不会坚持的.)他是否有选择的唯一选择是因为他能够使Web服务器上载目录正常工作还是能够正常工作为他,因为他正在使用一些较旧的phpmyadmin? (视频是2009年3月制作的.)

I'm trying to follow along with a tutorial. In the tutorial, the instructor shows how to edit the config.inc file to set a folder as the UploadDir. This enabled him to select .SQL files in that folder from a "web server upload directory" drop down menu when importing in phpmyadmin. I tried getting help with this, but couldn't get it to work. So instead I wanted to just browse for the file and import. I was able to do this, but then I wanted to select "Latin-1" for the character set, as the instructor did, but there is no option for it for me. I don't know if it really matters (I assume it does; otherwise he wouldn't have insisted on it.) Does he have the choice available only because he was able to get the web server upload directory to work or did it work for him because he was using some older phpmyadmin? (The video was made in March 2009.)

推荐答案

很明显,现在还有一行:$cfg['UploadDir'] = ''; (从他在教程中添加文件的位置向下滚动以找到它)

Evidently, there is now an extra line: $cfg['UploadDir'] = ''; (Scroll down in the file from where he is adding it in the tutorial to find it)

在教程中,他将$cfg['UploadDir'] = 'c:\Files';添加到文件中,并且在制作视频时,上面的行对于他来说可能已经不存在了.

In the tutorial, he adds $cfg['UploadDir'] = 'c:\Files'; to the file, and the above line must not already exist for him when he made the video.

删除此多余的行可以使"网络服务器上载目录"选择框出现在我的PHPMyAdmin界面中.直到我删除了该行,这对我来说还是行不通的. (或只需将 c:\ Files 放在现有行的单引号之间)

Deleting this redundant line made it possible for "webserver upload directory" select box to appear in my PHPMyAdmin interface. It wasn't working for me until I deleted this preexisting line. (or just put c:\Files between the single quotes of the existing line)

现在,我必须弄清楚为什么在PHPMyAdmin界面的下一行中没有" latin1 "选项.

Now, I have to figure out why there is no "latin1' selection available on the next line of the PHPMyAdmin interface.

这篇关于无法选择Latin-1作为PHPMyAdmin中的字符集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆