LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   http 405 error when connecting mysql to Dreamweaver (https://www.linuxquestions.org/questions/linux-software-2/http-405-error-when-connecting-mysql-to-dreamweaver-218088/)

Onemessedupjedi 08-15-2004 09:39 PM

http 405 error when connecting mysql to Dreamweaver
 
I'm quite the newb to web stuff such as networking, ports, site building, internet languages(i.e. php) and databases...so you'll need to go a bit slow with me

Error message I'm contending with:
HTTP error code 405 Method Not allowed

I get that when I try to make a connection from dreamweaver MX with a php site to my mySql DB on my networked linux box running apache.

I have noticed that if I kill apache I get a "An unidentified error has occured" error instead of the http error.

setup:
Windows machine running dreamweaver MX with 6.1 patch
The site is both .php and .html
I think the problem lies in my remote and testing server setup

Remote Info
Acess: local/Network
Remote folder: \\192.168.0.7\apache\slm
checked refresh
checked auto upload

Testing Server:
Server Model:PHP MySQL
This site contain: All DWMX pages
Access:Local/Network
Testing server Folder: 192.168.0.7\apache\slm
checked refresh

URL Prefix: http://192.168.0.7/

I try to use recordset(It says I have done the first three steps correctly) and I go into define and enter the information:
MySQL connection
Connection Name: Jedidb
MySQL Server: 192.168.0.7
User Name: root
Password:
Database: users

try test and it gives me the error:

HTTP error code 405 Method Not allowed

Linux machine running apache with no real configuration done(changed htdocs to slm and also changed that in the configuration file. php was already configured for me). I can test the page with dreamweaver and any computer can view it at 192.168.0.7

MySQL was already installed(it was installed in a very odd way by slackware with everything spread out but I deal with it).
I did the setup for this very late at night and was reading a tutorial so I don't know if I could have done something wrong there.
I also chmoded all my databases to a+rwx hoping that would help since I read that you need to make your databases web shares(?)
I can do mysqladmin ping and it says it's running and under status it says that it's connected to localhost.

If I make the page .jsp it will connect to the database using a the local driver(which I updated so it would work) before figuring out that .jsp pages arn't able to be read from browsers(even if they can be and it tried to download it for a strange reason I don't want to use the format.)

The network is a simple static IP network with no internet connection(well, there is one but it's a proxy that's coming from a computer on dial-up.)
The laptop with dreamweaver is 192.168.0.8

Thanks.


All times are GMT -5. The time now is 04:17 PM.