Unable to connect error 404 PHP/MySQL

Wow, the learning curve is killing me. Yet another challenge. I use Dreamweaver CC and this tutorial http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html

I'm at this stage:

  1. Open comments.php . You must have a PHP page open in the Document window to create a MySQL connection.
  2. In the databases Panel (choose window > databases), click on the sign located on the Panel and select MySQL Connection.The MySQL connection dialog box appears.
  3. Type connTest as login name.
  4. For the MySQL server, type localhost. If you use MAMP ports by default on a Mac, use localhost:8889.
  5. For the user name, type phptestuser.
  6. Type the password that you chose for the phptestuser account in the password field.
  7. To the database, type php_test. Note: You need not precede the underscore with a backslash character here. It was inserted by phpMyAdmin in the previous section (see Figure 20) only because phpMyAdmin uses a query which allows wildcards.
  8. Click on Test.Dreamweaver tries to connect to the database. If the connection fails, follow these steps:
    • Check the server name, user name, and password.
    • Check the settings in the file that Dreamweaver uses to process dynamic pages (see specification of a Dreamweaver testing server).
    • Ensure that the web and MySQL server are both running.
    • Temporarily disable any firewall or security program. If the connection works, you must configure the security program to allow communication between Dreamweaver and MySQL.
  9. Click OK. The new connection appears in the data Panel.
  10. Expand connTest connection, and then expand the Tables branch. You will see the comments table in the database, you can expand to reveal the details of the columns in the table (see Figure 23).

I can say that I followed this tutorial to the letter.

As far as I know, XAMPP/php mySQL all running very well, the files are in the right place and everything should work. However when I type test, I get a 404 error. (Same error when I hit the select button).

The problems on the 404 message are:

1. There is no server running on the server test.

Sure the testing server is running. Is there a way to test this, another that note that xampp is certainly running right now and I can connect to phpMYadmin without problem?

2 test specified for this site server is not mapped with the http://localhost/php_test/_MMServerScripts/MMHTTPDB.php URL check that the URL prefix maps to the root of the site.

UH... I'm sure that I put things where I was told to put them in the tutorial, but I'm lost right now where I should check that. A clue here? The files are where they are supposed to be, but maybe I entered something wrong? Except... I don't know what it might be or where to find it. Whatever IT is.

Everything in the local files is fine.

Thanks for your help!

PS: Extra points to anyone who figures how to make copy/pasteable error messages! These guys are the bane of my life!

Stop and restart the services he. Stop Xampp if still the same behavior. It should look like as below

Tags: Dreamweaver

Similar Questions

  • Unable to connect to the local MySQL server through socket ' / var/lib/mysql/mysql.sock' #2 #.

    I received an email indicating that HP does not show me as having all printers which explains why I have not received information of driver update I guess.  But when I typed in HP4500 G510, I received the following error message:

    Unable to connect to the local MySQL server through socket ' / var/lib/mysql/mysql.sock' #2 #.

    And since I don't know beans about computers, I don't have any idea what it means.

    Because I had to pick a topic, I chose the one above, but no other choices were nowhere near cover.

    Hi mac64.
    I understand you are trying to register for updates for your Officejet 4500. I can certainly help you with this.

    I'll give you a link to try to register for driver updates. Please let me know if it's the same link you used and if this works differently for you, simply click on the following link: the HP driver updates.

    Hope to hear from you soon

  • After the download of 33.0, pages non-mozilla give unable to connect error, firewall exception has not helped

    Now, I get this error:
    Unable to connect

    Firefox can't establish a connection to the server www.fanfiction.net.
    Firefox can't establish a connection to the server www.gmail.com.
    Firefox can't establish a connection with the server at www.facebook.com.
    Firefox can't establish a connection to the server at www.youtube.com.

       The site could be temporarily unavailable or too busy. Try again in a few moments.
       If you are unable to load any pages, check your computer's network connection.
    
       If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.
    

    can connect at all on pages, firefox wasn't already on my list of firewall, added to the list without change

    The announcement of chrome, which I prefer not to use if avoidable, any help or advice would be welcome.

    Make a check of malware with several malware scanning of programs on the Windows computer.
    Please scan with all programs, because each program detects a different malicious program.
    All of these programs have free versions.

    Make sure that you update each program to get the latest version of their databases before scanning.

    Alternatively, you can write a check for an infection rootkit TDSSKiller.

    See also:

  • "Unable to connect" and index.php

    Hello.

    I develop a Web Site and index.php is my entry point.

    The Library/WebServer/Documents document root

    so my background is: Library/WebServer/Documents/dwwdSite

    httpd.conf file is modified to add index.php and I cited him first.

    < IfModule dir_module >

    DirectoryIndex index.php index.html

    < IfModule >

    Troubleshooting:

    I've been using Netbeans IDE, and when I ran index.php it open in the browser.

    When I launched "any" of my index.php of Netbeans IDE files, they opened correctly in the browser

    I'm NOW using DreamweaverCC and when I run index.php Error Message 'Unable to Connect'.

    For the past 2 days, I worked on it and I am completely stuck.

    This morning I thought about another way to test the error "unable to connect".

    I decided to copy the same file in Netbeans IDE and I NOW get the same error Message " Unable to Connect' '.

    When you use Netbeans index.php.

    Somehow, my settings are not correctly configured more.

    Here are my screenshots of Dreamweaver > manage sites.

    siteSetting.png

    ServerNameAdvanceTab.png

    AdvanceServerModelSqlPhp.png

    AdvancedSettingsLocalInfo.png

    I think it's a pretty simple solution I don't see somehow.

    Perhaps some may find a mistake.

    I appreciate your help and your explanations.

    This has been fixed!

    I don't know how much I need to provide information.

    Someone suggested I check if apache is running.

    Troubleshooting, I came across an error that referenced what I thought was a wrong file.

    No way below the code or a color tag, so I just added points.

    • MyName myNameMacBookPro:apache2 $ sudo nano httpd.conf
    • Restart MyName myNameMacBookPro:apache2 $ sudo apachectl k
    • Syntax error on line 1 of the /private/etc/apache2/users/myNameBU.conf:
    • Invalid command ' {\\rtf1\\ansi\\ansicpg1252\\cocoartf1187\\cocoasubrtf370', perhaps misspelled or defined by a module not included in the server configuration}
    • httpd not running, trying to start
    • myNameMacBookPro:apache2 MyName$

    It (apache?) using a file called myNameBU.conf referenced above in private/etc/apache2/users/myNameBU.conf.

    It's a backup copy I made of myName.conf which is located in my/etc/apache2/users directory.

    myNameBU.conf exists as well.

    I opened myNameBU.conf and it has been tampered with {braces} and /slashes at the end of each line.

    I modified the content of the file.

    It fixed my problem "localhost".

    I am now able to 'connect to the local host.

    I probably shouldn't bother to do this backup myNameBU.conf (which was 2 months ago).

    It caused no problems when using Netbeans but DreamweaverCC seems not to like it.

    If someone can explain to me why the myNameBU.conf was referenced instead of myName.conf

    I'd be happy.

    I can't always at some of the answers above as useful?

    Roger



  • Scanning: Unable to connect error Web Services

    My specific error is not listed:
    Server connection error: unable to connect to Web Services. Confirm access to the Internet, and then try again.
    This error keeps popping up when I try to scan a document from the printer to the PC, even though I'm connected wireless to the internet and you can print wireless from all devices. I use this scan function every day, and this error occur every two weeks. Cannot find how to fix it. Have tried rebooting with no luck.

    Thanks - we actually ended up contacting HP because I needed to operate as soon as POSSIBLE for my business. They we had to do something similar to what you suggested and I saved your instructions if we receive this error in the future. Thank you for coming back with me!

  • Unable to connect error PlayStation 3: 80130182

    Original title: error code 80130182

    trying to hook my playstaion3 to enternet and it says that it can't read my id address says I have error 80130182 what which is pls help ty

    Hello

    I suggest you to see link below and check if it helps.

    Connect to Bluetooth and other wireless or network devices: http://windows.microsoft.com/en-US/windows7/Connect-to-Bluetooth-and-other-wireless-or-network-devices

    If the problem persists then I suggest you contact the PlayStation support.

    Hope this information is useful.

  • Unable to connect error headset/Bluetooth Headset: the pairing attempt failed in an unknown error, is the reported error code: 0x80070005

    Original title: Bluetooth headset not connecting

    I have a Plantronics 9xxBackBeat headset, and I'm trying to connect my laptop (HP Pavilion dv6000)

    However, when pairing the headset I gives me the message
    "Device pairing failed.
    Matching attempt failed in an unknown error, is the reported error code: 0x80070005
    Contact the manufacturer of your device. »
    However, there is no driver for the 9xxBackBeat headphones and when I contacted their support, I'm referred my OS manufacturer, but when I talk about Microsoft, they tell me to go to Plantronics.
    Can someone tell me please how to fix this error?
    If it is not a mistake on the side of Plantronic, and if it's not a mistake on the side of Microsoft Windows, and then what happens?

    Hello

    1. are you able to connect other devices via Bluetooth from your computer?

    2 - is this compatible with your operating system device?

    First thing I suggest you to check the manual and if this device is compatible with your operating system.

    I suggest you try the steps mentioned below and check if it helps.

    Method 1: The problems with Bluetooth devices: http://windows.microsoft.com/en-US/windows-vista/Troubleshoot-problems-with-Bluetooth-enabled-devices

    Method 2: If the problem persists, then try to update driver:

    a. click the Start button.
    (b) in the search box type devmgmt.msc and then press ENTER.
    c. Select Bluetooth peripheral device and right click on it.
    d. now, select Update.
    e. restart your computer.

    Method 3: Also I suggest to add as peripheral to your Bluetooth computer and later check the required services running on your computer.

    Set up a Bluetooth device:

    http://Windows.Microsoft.com/en-us/Windows-Vista/set-up-a-Bluetooth-enabled-device

    Change settings for a Bluetooth compatible device:

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-settings-for-a-Bluetooth-enabled-device

    Hope this information is useful.

  • Creative cloud unable to connect error

    Hello guys,.

    I have a problem with the creative cloud. My Application Manager has been updated for Creative Cloud Desktop, I can not connect. I try to connect every time, he says that have no Internet connection. But I have a connection.

    I never had these problems with the Application Manager. But now I need a solution, because I must connect every 30 days that my Adobe programs work.

    I can't find any information here or on the internet who has the same problem.

    I use Windows 7 and I am working with the team-version of the creative cloud on my work.

    Thanks for any help.

    Jessy L.

    See if this helps: http://helpx.adobe.com/creative-cloud/kb/unknown-server-error-launching-cc.html

  • Repository of content connection - error 404

    Hi guys,.

    I have created a workflow defined ADF and use it as a region on a page of .jspx. The second page of the stubborn workflow contained in a presenter content of the free repository of content to a University Complutense of MADRID.

    The problem I have is that when I use this presenter content, content or link I can not run the application locally I get a 404 error whenever I try to launch the test page (if there is a region in the .jspx page or not), but when I use the taskflow as a shared library in a portal application webcenter it works perfectly.

    The only data source I have on my local WLS is a datasource JNDI used by other parts of the workflow.

    I have another app that appears to be identical and running local and in a webcenter portal application. Is there anyone who could point me in the direction of what I might hurt?

    EDIT: Another thing I've found, is that I get this error when I have the presenter content on the page.

    Thank you
    Aaron

    Published by: Aaron Rapp October 12, 2011 09:50

    I thought about it...

    I needed to include the scope of the technology "Content Repository". Which included the required libraries.

    Aaron

  • MySQL.sock error with php

    Hello

    I'm trying to get MySQL running on my Mac running OS X 10.5.1
    The server works and I have imported one of my inside databases. However when I run Dreamweaver and try and add the new database I get this error in Dreamweaver;

    Unable to connect to the local MySQL server through socket ' / var/mysql/mysql.sock' (38)

    Speaking with MySQL, they said that this file is located in /tmp/
    I copied and added where DW wants it but still no joy.

    Thank you, Alan, the other fixed which ungrudgingly :)

    Have a good Christmas!

  • gettign error "unable to connect".

    Hello

    I have new phone purchase watch Elife E3 a few days ago. I downloaded Skype-free IM & video call, and it works great 2 - 3 times when I open a session and after 2 - 3 times it gives "Unable to connect" error when I connect.

    the I uninstall Skype and reinstall it again and it works fine, but after 2 - 3 times it is in error "Unable to connect" again do not know what the problem is.

    any body has any solution for this.

    Thanks in advance

    Sunil

    For a long time, tap the app and choose 'Clear data' or something similar to reset. Its a big trouble, but it's the only solution. To avoid this, I suggest to sign first and the app completely in the drawer of the app from closing before turning off WiFi because it helps a lot. Also, perhaps heat your device upwards before running Skype to avoid it hanging.

  • View is not to connect to the event db and error unable to connect to the db

    Hello

    while trying to connect the event dB view, I encounter a weird problem where, by getting "unable to connect" error message.

    in the error log I get below error also can you pls help.

    TP-Processor1 > code [ConfigurationManagerBean] ADAM Error: 2 128 com.vmware.vdi.admin.ui.ConfigurationManagerBean.updateDatabaseConfiguration(SourceFile:181)

    com.vmware.vdi.adamwrapper.exceptions.ADAMServerException: database initialization failed, SQL exception when connecting to the database: TCP/IP connection to host failed. java.net.ConnectException: connection refused: connect

    at com.vmware.vdi.admin.be.ConfigurationManager.a(SourceFile:1703)

    at com.vmware.vdi.admin.be.ConfigurationManager.updateDatabaseConfiguration(SourceFile:1580)

    at com.vmware.vdi.admin.ui.ConfigurationManagerBean.updateDatabaseConfiguration(SourceFile:177)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    to com.vmware.vdi.admin.ui.common.ViewFlexFactory$ ViewProxy.invoke (SourceFile:113)

    to com.sun.proxy. $Proxy56.updateDatabaseConfiguration (unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:606)

    at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:418)

    at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)

    at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1400)

    at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1011)

    at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)

    at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)

    at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)

    at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)

    at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:166)

    at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:291)

    at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:353)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)

    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)

    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)

    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)

    at com.vmware.vdi.admin.ui.servlet.AMFProxyServlet.a(SourceFile:90)

    at com.vmware.vdi.admin.ui.servlet.AMFProxyServlet.doPost(SourceFile:57)

    Hi James,

    It's a SQL API based in the event database connection, it does not need an ODBC connection, see will do for you.

    I just wanted to know what operating system you are using to connect to the server and did you do Windows Update on this machine? If not done it please do.

    restart the machine try connecting the event database. It does not work please check the things mentioned in the KB below

    http://KB.VMware.com/kb/1029537

    You can do one more thing before checking the KB, if the connection to the server OS is windows 2012 and the SQL Windows 2012, take a snapshot of the VM Server conection and proceed to

    under location

    C:\Program Files\VMware\VMware View\Server\broker\shared\lib\sqljdbc-1.2.jar

    Stop all the service view in the connection to the server.

    sqljdbc - 1.2.jar and rename sqljdbc - 1.2.jar.backup.

    Download SQL JDBC 3.0 driver http://www.microsoft.com/en-us/download/details.aspx?id=21599

    extract the downloaded file and copy the sqljdbc4.jar to location (C:\Program Files\VMware\VMware View\Server\broker\shared\lib\)

    also copy same file once more and rename the file to sqljdbc-1.2.jar

    Restart all services server connection and wait 10 minutes, then check the admin page.

  • On my other compuyer (Windows Vista), firefox is unable to connect. It is a blow, but all day.

    When you click on my icon of firefox on my computer Windows Vista of wifes, I get an "Unable to connect" error. More precisely
    «Firefox can't establish a connection to the server en - us.start3.mozilla.com» The network works because internet Explorer works fine. This just started this morning and continues throughout the day.

    Thank you for your help and it has been a great help. I removed the software firewall Norton, and firefox started working. Thank you for your help and suggestion.
    Dennis

  • Unable to connect [Local account]?

    OK, then I hit the Windows key + C then that in the modern Photo App and it has...

    "You are not connected right now."

    No problem, other than the app gives you no. CLUE on WHERE or HOW connect you.

    So the question is... WHERE or HOW a sign in the Photo App?

    Flickr works correctly and automatically connects me to see all my photos.

    Modern App Mail retrieves all of my emails, which makes me assume
    that I am connected.

    Skydrive in notification area icon said: SkyDrive-Up to date.

    So why doesn't App State Photo, "you are not connected right now?"

    https://8hdmqq.SN2.livefilestore.com/y1pK4ukl6A8RB8TS8isYVdmSXcx4vfBL3FVdOd9C9lnJFakt2iZd5delP78114lXjjzoq1whgTeFXWPEbcCVGAn-OJrM6uKZQ-3/can ' t%20sign%20in.png?psid=1

    Click on the unable to connect error below provides the tile of SkyDrive to see what it details.

  • Unable to connect to the admin apex screen

    I spent the last 2 days just trying to access the page to admin of apex. I even uninstalled with @apxremov and re-installed with @apxremov nothing works. Interestingly, using the results of port 8888 in the "Unable to connect" error, but its replacement by 1521 results in a blank page.
    Any ideas? Thank you for your help.

    Here is my db environment while trying to connect with firefox 3.5.8:
    SQL > see the list of parameters

    VALUE OF TYPE NAME
    -chain listener_networks
    LOCAL_LISTENER string LISTENER_xxx
    remote_listener chain
    SQL >

    SQL > select * from v version $;

    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    AMT for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production

    SQL > select dbms_xdb.gethttpport () FROM dual;

    DBMS_XDB. GETHTTPPORT()
    8888

    I'm glad you have work.

Maybe you are looking for

  • Using a single iTunes library on two computers

    Hello I have a Macbook running El Capitan and the latest version of iTunes. I have an iMac running Yosemite and the latest version of iTunes. I currently save the laptop on the desk. I would like to be able to open the iTunes library for my laptop on

  • Choice of camcorder

    Our historical society did a video interview of individuals and puts them on Vimeo to post a link to their Web site. They asked for a recommendation for the more economical camcorder to do the job better. They want HD, hard drive and the card holder,

  • Does anyone know the email of material?

    Been trying to contact the support for replacement of material stuff, I went through assisted online report, but when I go to my "incident" report, it sends me into a loop cause, I'm trying to return a Microsoft Lifechat LX-3000 headset. I tried to f

  • I can't install the driver for my Canon iP2702 printer, which has stopped working.

    I bought a new one, same model, same problem. It works on another pc, but I can't just install the driver of any method. I also tried a different model (Epson C86), same problem. I restarted the print spooler, delete the registry files before reinsta

  • HP - Pavilion x 360: black screen

    My laptop turns on request for password goes through the process making known but then goes black, but I can see the mouse cursor and can move even the pop-up to renew my virus software rises and the Task Manager works but except that it stays black