Setting up a test server. Getting the error "Could not connect to MySQL". Help!

First of all, I am a rookie at this, so please excuse me for leaving out some details.  In any case, I followed David Powers "establishing an environment of PHP for Dreamweaver development" set up my test server.  I tested the timetest.php file and everything works great.  I saved my website in its entirety and extracted its contents in my folder xampp/htdocs/php_test/CIM.  'CIM' is a file that I created to hold the content of my entire site.  I get an error message when I try to access my index.php file.  When I click on 'Live View', I get 'database error: unable to connect to the database: could not connect to MySQL'.»»  My index., is a php file in xampp/htdocs/php_test/CIM/public_html/store.  I too, started with Apache and MySql running XAMPP.  What I am doing wrong?

If your timetest.php is like this:

This page was created at on the computer running PHP.

So which proves that you have PHP work.  I want to talk in DW when you try to establish a database connection.  Based on your error page there is no connection to the database.  The screen I'm talking about is:

Tags: Dreamweaver

Similar Questions

  • I constantly get the error 'could not get new comments. One or more files are missing on the server.

    I constantly get the error 'could not get new comments. One or more files are missing on the server.

    It gets a little old. I know that the files are there. There is some ongoing compatibility issue?

    Hi kuntzmd

    Please visit: http://forums.adobe.com/thread/533034

    http://forums.Adobe.com/thread/33586

  • I can't reinstall firefox, I get the error 'Could not load profile' and not a solution I found works. / Appdata/roaming/mozilla folder is not accessible.

    I'm on Win7 64 bit. Initially, I uninstalled because a program has changed my page of the new tab to something unwanted and I literally had no way to change this back. Now, every time I reinstall, I get the error "cannot load the profile, it may be missing or unreachable", and I can't create a new profile. Whenever I try to any method of opening the profile editor, I get the error 'Could not load profile' then too. I can't access the folder in/appdata/roaming/mozilla at all. It is said it is accessable and access is denied, and tries to remove it tells me I have not permission (even if I'm the admin). No other difficulty I saw worked. Can someone help, please?

    I have done a virus scan, cleaned up one piece of adware, rebooted, and it worked all of a sudden. I don't know what exactly caused to start working, but he did, so I consider this issue closed.

  • Get the error: "could not load wmi.dll.

    I am trying to install Cyberlink 4. I get the error: "Could not load wmi.dll" before Setup is ready.

    Even if it's in the System 32 folder.

    I have a stable replacement for it, but I can't delete and replace it with obviously various reasons, even if many forums tell me to pretend like it was easy. I tried a lot of things now and with a lot of attention so not to spoil my OS.

    I have Vista 32 Sp 2. I'm running out of ideas, in fact I ran.

    Help gratefully received.

    I solved this problem with a useful Gnome from Cyberlink.

    Here is the link that made me to erase my previous bad uninstall the previous version of Cyberlink you Cam:

    FTP://154: * email address is removed for life private ***/new/CLCleaner-YouCam-All.zip

    When prompted, save the file to the desktop of the computer. After the download is complete, run the file and restart your computer.

    Congratulations to all.

  • I get the error "could not complete your request because it is not a valid Photoshop document."

    I get the error "Could not complete your request because it is not a valid Photoshop document" on a file that I was working with happiness last night. I use the last subscription to PShop on Mac. Any ideas. I had a glance through the forum but have not found a specific help. I tried to restart, when you rename the file, copy the file. TIA

    The most common cause is when people save file type, but type the extension to a different file type (like JPEG recording, but typing.) (PSD).  Photoshop will try to obey the file extension, but the extension does not match the contents of the file, so the file cannot be read.

  • cannot get past error - could not connect the user profile service

    My HP desktop computer has windows 7 - I can't get past - error message "user profile service failed to connect ' & 'impossible to load the user profile'!"  By clicking on the ICON that displays windows closes and repeats the error message read... a new user account must be defined the user upwards and copy the previous settings account - but I can't get there.

    Hello

    You can try the following.

    Shut down the PC.  Tap away at f8 that you start the PC to enter the Windows Recovery Console.  Use the arrow keys to select Safe mode and press ENTER.  If windows will load in this mode, on the Start Menu, click principally made programs, click Accessories, click System Tools and run the system restore.  Choose a restore point at least 24 hours prior to the issue of logon and then proceed to the restoration.  When you are finished, Windows will restart as normal in order to check if you can now connect correctly.

    Another option if the above does not help is as follows.

    Shut down the PC.  Tap away at f8 that you start the laptop to enter the Windows Recovery Console.  Use the arrow keys to select "Start using last good known Configuration" and press ENTER.

    Kind regards

    DP - K

  • Try reinstalling iTunes but I get the error "could not open key: HKEY_LOCAL_MACHINE\Software\Classes\.m4b\OpenWithList\iTunes.exe.

    original title: problem with installation of iTunes

    Hi guys

    iTunes was running great until I tried to update to 9.0...

    I tried the apple forums and forum of microsoft ideas, but nothing helps...

    I use a dell 17 with vista home premium with sp2 installed studio.

    partially, he settled then I get this error:

    Could not open key: HKEY_LOCAL_MACHINE\Software\Classes\.m4b\OpenWithList\iTunes.exe check that you have sufficient access to that key or contact your support team.

    I guess you're the closest to support staff I have....

    in any case... I uninstalled itunes and quicktime and itunes now will not reinstall.  I tried the version 8.2.1.6 and I guess I can try the previous version... I also tried opening the HKEY and got in what concerns the OpenWithList, but he will not give me access.  I have no idea what I'd do if I got there, but I watched out of curiosity and was blocked...

    any info would be greatly appreciated!

    If you have guitar questions let me know, I have been a tech for almost 25 years.

    Thanks again, scott

    I had the exact same problem and error as you message the guy but he fixed earlier. I'm not an expert, or even trained somehow. I just worked through until I got everything to install. If you try this, please back up your registry first.

    In any case, here's what I did.

    First of all, I uninstalled iTunes, Quicktime, Apple Software updater toally, _-anything with Apple in the name.

    I opened regedit using 'run as administrator '.

    I then went to the registry key:

    HKEY_LOCAL_MACHINE-1-5-18\Components\DA42BC89BF25F5BD0AF18C3B9B1A1EE8\108B43C0CEA676640B35306AE7D24051

    .. .and selected the folder DA42BC89BF25F5BD0AF18C3B9B1A1EE8

    Right-click & click Permissions
    Click Advanced, and then click the owner tab
    Type "Administrators" in the current field of owners and th check Replace owner subcontainer and volumes

    (Note: I did this because I had another key with permission issues, after I fixed the original onelisted above)

    Apply the settings, and then click Permissions tab. Once more, add 'administrators' to the permission entries list, and then click on edit and select all the checkboxes of permission. Also click on the boxes of the 2 bottom regarding permissions inheritable.

    Click OK

    Now on the main permissions tab, choose administrators in the windows user name or group and then check the full control and read check boxes. Click OK.

    In the main window of regedit, you should now see the keys in the right pane for each subfolder in:
    HKEY_LOCAL_MACHINE-1-5-18\Components\DA42BC89BF25F5BD0AF18C3B9B1A1EE8

    In the menu bar click file > exit

    I downloaded and installed the new handset iTunes9 and apple Quicktime.

    Everything worked well. I hope this helps.

    -J

  • Impossible to download programs, get the error could not access network location %APPDATA%\protector.exe

    Help, please

    I am trying to download the new version of Microsoft Messenger and get up then stop downloading and I gat the message - could access the network % APPDATA%\.--aussi location, I get the same message when trying to domnload i tunes.  CAN ANYONE HELP PLEASE.

    Hi, Neil,.

    FixIt - You receive an "Error 1606" error message when you try to install or remove a program from Microsoft

    http://support.Microsoft.com/kb/886549

    You can also try to create a new user account.  Retry - the same problem occurs in the new account?  If this isn't the case, you have a corrupted profile.

    Difficulty of a corrupted user profile

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

    Error 1606: Could not access network location %APPDATA%\protector.exe

    http://forums.techarena.in/operating-systems/1127524.htm

  • Im trying to download i tunes and I get the error: could not access network location - please help

    Log name: System
    Source: Service Control Manager
    Date: 06/03/2012 10:48:07
    Event ID: 7036
    Task category: no
    Level: Information
    Keywords: Classic
    User: n/a
    Computer: ARJDLV5Q74
    Description:
    The virtual disk service entered the stopped state.
    The event XML:

     
       
        7036
        0
        4
        0
        0
        0 x 8080000000000000
       
        39271
       
       
        System
        ARJDLV5Q74
       
     

     
        Virtual disk
        order
        7600640073002F0031000000
     


    Log name: System
    Source: Service Control Manager
    Date: 06/03/2012 10:48:07
    Event ID: 7036
    Task category: no
    Level: Information
    Keywords: Classic
    User: n/a
    Computer: ARJDLV5Q74
    Description:
    The virtual disk service entered the stopped state.
    The event XML:

     
       
        7036
        0
        4
        0
        0
        0 x 8080000000000000
       
        39271
       
       
        System
        ARJDLV5Q74
       
     

     
        Virtual disk
        order
        7600640073002F0031000000
     

    Hello

    When you get this error message - during the download or installation?

    Method 1: Download the latest version of Java and see if that helps.

    Download and then install: http://java.com/en/download/index.jsp

    Method 2: Solve problems with programs that cannot be installed or uninstalled

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall 

    Method 3: How to solve problems when you install or uninstall programs on a windows http://support.microsoft.com/kb/2438651

  • Desperately need help with win XP Edition family, I need to update my PC but get the error message "cannot connect to the server.

    I need to update my pc, I have windows xp home edition. I had sp2 on my computer, but my system crashed almost and I had to do a total system recovery and it removed my files. Tried to download again, but I can't. I get error could not connect to the server. I have no virus or worms and checked each article are saying sp1 kb. I can't update the Explorer or anything like that

    Follow the links in this article to download the Service Packs from Microsoft.  You can download on another computer if necessary and move them to your machine to update.

    "How to obtain the latest Windows XP service pack"
      <>http://support.Microsoft.com/kb/322389 >

    HTH,
    JW

  • When I try to set up "Remote support" I get the error message: "your current system settings prevent you from sending an invitation. How can I solve this problem?

    Using Windows XP Profwssional.

    (1) when I try to set up "Remote support" I get the error message: "your current system settings prevent you from sending an invitation. How can I solve this problem?

    (2) can I use this feature when both computers are on the same network?

    Hello

    (1) you must configure your computer to use the remote control - see here:

    http://www.winxptutor.com/raenable.htm

    and don't forget to make the firewall exceptions

    (2) this function works on the different network also (so a computer can be in the United States and one in Australia)

    Note - a computer can have Windows XP (family or professional edition) and another may have Windows 7, Vista.

    LC

  • When you try to connect from my vista desktop to my laptop windows 7 through the DRC I get the error "unable to connect to the gateway terminal server."

    problems of the DRC of vista for windows machine 7

    I have 2 computers running on a homegroup. When you try to connect from my vista desktop to my laptop windows 7 through the DRC, I get the error "unable to connect to the gateway terminal server."   Can I remotely from the laptop to the desktop vista end. I the DRC 7 is installed on the desktop and tried to connect using the IP as well as the name of the machine but still no joy.

    can someone shed light on this please?

    Hello

    Temporarily disable the security software on both computers and check if it makes a difference.

    http://Windows.Microsoft.com/en-us/Windows-Vista/disable-antivirus-software

    Note: Antivirus software can help protect your computer against viruses and other security threats.  In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

  • Want 4500: Connection error! The printer could not connect to the server

    Connection error! The printer could not connect to the server!

    Cannot set up eprint or update the driver. Ever been on the forums and do not understand what to do!

    I am successfully connected to my router and can print from my pc and my ipad with airprint.

    PC "will not find"the printer either for purposes of updating

    What I need to change the DNS. If so, I don't know what it is or how to do it!

    I went to the ip address but was unable to click on "wireless (802.11)", as recommended by a last response forum, as the next low 'status '.

    Can anyone help?

    Very frustrated customer :-(

    Hi @roopuk,

    Thanks for getting back to me.

    Sometimes the manual DNS 8.8.8.8 / 8.8.4.4 won't work in some configurations of network users.  Try the same steps as described above, but this time use the following parameters:

    Manual preferred DNS Server: 209.244.0.3
    Auxiliary manual DNS server: 209.244.0.4

    If you encounter the error, as before, we take our proverbial gloves off to try a more intensive troubleshooting.

    What is happening, it is that your router allows your printer connection that to enable wireless, but not a secondary connection to Web services.  In order to get these devices to 'shake hands' a second time, you may need to enable DMZ mode on your network through the router's built-in Web server.  HP does usually not this configuration for its customers as errors can cause serious network problems, but I can certainly post the info you need on your router or the ISP of the staff support company so that they could help you directly.

    Here is the information that you need for your provider service to open ports on your router/modem...

    -Multicast must be enabled
    -Hello enabled for AirPrint (relevant for iOS and Mac OS users)
    -Mac filtering should be disabled
    -Also, make sure that your router's firmware to date if
    necessary
    - The dmz on the router mode and turn it on to the printers IP address: _

    Ports to open are: Eprint and Apps

    Incoming Ports.

    UDP
    80
    443
    ------------------
    Outbound ports

    TCP
    5222
    5223
    -------------------
    Once they are open, you should have no problems connecting to services web eprint on your device.

    I would like to know how it works for you.

    Kind regards

  • I get the error 'no reliable connection '. I tried to delete the file cert8.db as said, but it did not work and my time is correct.

    I get the error message "Untrusted connection" for a site I visit every day with the only option being "get out me of here!" I use Firefox version 39.0 and have Windows 8.1. I found a thread indicating how to solve this problem by removing the file cert8.db. I have used this method before and it worked then but it didn't this time. Tried to look elsewhere for help, but what I saw spoke of the time / date being off. However mine are correct sentence. Any help would be much appreciated.

    https://support.Mozilla.org/en-us/KB/server-not-found-connection-problem

    https://support.Mozilla.org/en-us/KB/Firefox-cant-load-websites-other-browsers-can

    https://support.Mozilla.org/en-us/KB/secure-connection-failed-error-message

    https://support.Mozilla.org/en-us/KB/connection-untrusted-error-message

    http://KB.mozillazine.org/Error_loading_websites

    This connection is Untrusted is sometimes caused because the
    the computer system clock is wrong. Check the time / date / time settings of the area.

  • When I try to install Firefox, I get an error "could not open the output file. I used Firefox before and it doesn't work anymore, so I uninstalled. Cannot re - install now.

    When I try to install Firefox, I get an error "could not open the output file. I used Firefox before and it doesn't work anymore, so I uninstalled. Cannot re - install now.

    This has happened

    Each time Firefox opened

    I tried to download firefox.

    User Agent

    Mozilla/4.0 (compatible; INTERNET EXPLORER 6.0; Windows NT 5.1; SV1; AntivirXP08; GTB6.3; .NET CLR 2.0.50727; MS - RTC LM 8)

    When you click on the download link on GetFirefox.com, you should be asked if you want to run or save the file. If this situation occurs when you try to run the download, try instead to record and put the file on your desktop or in a similar place, where you are certain that you can find.

    When the download is complete, try double-clicking on the downloaded file in the normal Windows Explorer (browse your way to the file from the desktop). This should start the installation.

    If, in the Explorer window, you notice that the file seems to be missing the Firefox icon orange/blue, right click the file and select Properties. The image should look like the attached picture (except that mine is in Danish, but that is irrelevant) if saved correctly - if it don't look like this, would you please describe the content or attach a screenshot of the box. Especially what it says under "File Type" - it must be 'program '. If this isn't the case, will have to focus on what could be the problem here.

    A bit off-topic, your Internet Explorer seems to be quite a bit outdated (IE 6, where the current version is IE 8), so I highly recommend that you try to run Windows Update to get your system up to date. Is it as a society (such as a thin client Terminal Server computer) system, this is not possible, and most likely, your system administrator will have to help you.

Maybe you are looking for

  • VPN configuration blocking Internet connectivity

    I own an iPhone6 (bought in November 14 and another iPad4 (bought in early 2014) - I face a problem even in both devices.) Whenever I'm trying to be devices connecting to the Internet (this either through Mobile or wireless data, I have to take concr

  • to end a process in exec system via ctrl + c

    I run a process in the command that is invoked by exec system window. The only possible way to complete and return to the main command window is via Ctrl + c. How to implement it? No idea...

  • Upgrade of RAM for Pavilion dm4-1201tx

    Does anyone know what type of RAM using dm4? I want to improve from 4 GB to 8 GB being the windows 64-bit operating system.

  • EE 3G

    I have a data card 3 G EE for temporary use, while I am in Europe. However, this test in England I can connect to EA, but when I try go, I get the message "You are in offline mode" and the button more says that wifi and data mobile phones are turned

  • Discs of reuse of a former PS6000XV in a decommissioned identical PS6000XV

    Is it possible to reuse the disks to a former PS6000XV on an identical PS6000XV that always works but out of warranty? The former PS6000XV will have to be reset first before trying to re - use records or is it really important? Would that work at all