我想在MySQL中使用Django (使用Python3)。为此,我安装了。为了首先使用MySQL测试水域,我还创建了一个新的Django项目和应用程序,将"settings.py“中的数据库配置更改为我用MySQL编写的设置,并确保MySQL服务器正在运行(我为测试创建的数据库此时没有任何表)。
但当我做的时候
python manage.py runserver
在终端命令中,我得到以下错误:
ImportError: No module named '_mysql_exceptions'
ImportError: No module named '_mys
我觉得这里一定有一些我看不到的非常简单的东西。我需要一个网页来与web服务对话,为此我需要WDSL ...但我不知道我该在哪里找到它。我拥有对web服务器的完全访问权限,以及web服务底层的所有代码。这是在IIS上运行的,我可以看到包含web服务的文件夹。基本上,我需要做的就是将这个代码:"$client = new SoapClient(');“转换成一个实际的位置。有问题的web服务(以及我正在使用的大部分服务)是由无法再回答问题的其他人创建的。
我的apache会议出了点小问题。当我阅读错误日志时,我可以看到以下内容:
[client xxx.xxx.xx.xx] AH01964: Connection to child 1 established (server www.mywebsite.com:443)
[client xxx.xxx.xx.xx] AH01964: Connection to child 6 established (server www.mywebsite.com:443)
[client xxx.xxx.xx.xx] AH01964: Connection to child 10 established (
我试图通过在我的ErrorLog文件中指定它来覆盖httpd.conf文件中的.vhost位置,但是它只创建了该文件,并且仍然在写入.conf one。
我的httpd.conf文件中有以下内容:
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged her