简体   繁体   English

Dreamweaver / MySQL 403错误

[英]Dreamweaver / mysql 403 error

When I try to connect to my mysql server (Debian linux, 192.168.0.90) in dreamweaver, I receive "HTTP Error Code 403 Forbidden" 当我尝试在Dreamweaver中连接到我的mysql服务器(Debian linux,192.168.0.90)时,我收到“ HTTP错误代码403禁止访问”

Usually this is a sign that there has been an incorrect username or password entered. 通常,这表示输入了错误的用户名或密码。 Not this time. 这次不行。 It is correct but the server won't let me in. I can do all mysql commands through the mysql terminal and ssh is also available. 没错,但是服务器不会让我进去。我可以通过mysql终端执行所有mysql命令,并且ssh也可用。

This is what I see: The red page is something I made and is not an error. 这就是我看到的内容:红页是我制作的,不是错误。

这就是我所看到的。页面由我创建。

This is a permissions error. 这是一个权限错误。 It must be corrected. 必须更正它。

In terminal, type: 在终端中,键入:

sudo chmod 777 /var/www && sudo chmod 777 /var/www/* && sudo chmod 777 /var/www/ / sudo chmod 777 / var / www && sudo chmod 777 / var / www / * && sudo chmod 777 / var / www / /

And press enter. 然后按回车。 It will execute. 它将执行。

then type: 然后输入:

sudo chown -hR www-data /var/www 须藤chown -hR www-data / var / www

And press enter. 然后按回车。 That will execute. 那将执行。

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

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