简体   繁体   English

Ubuntu mysql Dreamweaver 403错误

[英]Ubuntu mysql Dreamweaver 403 error

I am having trouble conecting to a mysql server that is runing on ubuntu 14.04. 我无法连接到在ubuntu 14.04上运行的mysql服务器。 i can log into phpmyadmin and upload webpages via ftp but when i go to create a record set and define a database i get a 403 access forbiden. 我可以登录phpmyadmin并通过ftp上传网页,但是当我创建记录集并定义数据库时,我将禁止403访问。 does any one have any ideas. 有没有人有任何想法。

A 403 error doesn't mean your script is having trouble connecting to the database server, it means your client (the web browser) is not permitted to access the file/web page you're trying to access. 403错误并不表示您的脚本无法连接到数据库服务器,这意味着您的客户端(Web浏览器)不允许访问您要访问的文件/网页。

Most likely your permissions aren't set properly on the files you've uploaded by FTP. 很可能是您通过FTP上传的文件的权限设置不正确。 Check the owner and permissions and verify that they're appropriate for your situation (for instance, on my system files are 644 and directories are 755 and the file owner doesn't matter. Your mileage may vary). 检查所有者和权限,并验证它们是否适合您的情况(例如,在我的系统上,文件为644,目录为755,文件所有者没有关系。您的里程可能会有所不同)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM