LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-15-2004, 09:39 PM   #1
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30
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.

Last edited by Onemessedupjedi; 08-15-2004 at 11:22 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL and Dreamweaver MX Die Woud Linux - Networking 4 11-11-2005 01:20 PM
Dreamweaver MX, MySql, apache and PHP ...? shahg_shahg Linux - Software 1 07-23-2005 04:50 AM
Error connecting to MySQL from PHP anindyanuri Linux - Software 18 04-24-2005 09:30 AM
Apache/Webdav/Dreamweaver MX MKCOL 405 Method not allowed swenz Linux - Software 0 03-31-2003 03:47 AM
Http 405 Error? Ricardo77uk Linux - Networking 2 06-20-2001 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration