Can't connect to the database server from localhost

Hi,
I'm having a problem I hope you can help with please!
I recently installed mysql and phpmyadmin... I can access mysql perfectly from the command line, and can access it partially through phpmyadmin although there are some restrictions that I haven't figured out how to change yet (despite editing php.ini, configure.inc.php and others), but on the whole inside phpmyadmin I can see all the databases I've uploaded with the command line and all the users are there and can be edited. Unfortunately whenever I try to connect to a mysql database using a username and password that was created in phpmyadmin (or anywhere!), I get a 'cannot connect to the database server error'. I've checked and rechecked the username, the passwords, the database names and the host names a thousand times but nothing I change is working.
Is there a special prefix my mac could be adding to the database, usernames or host names?
Thanks!

Okay, don't worry!
I finally figured it out...
it needed to be 127.0.0.1 rather than localhost!

Similar Messages

  • Can't connect to my VPN server from the WAN addres...

    I've setup a PPTP VPN server on a Raspberry Pi, so that I can connect to it when out and about and avoid having my android internet use sniffed by random public wi-fi hotspots.
    It seems to be working as I setup a Windows 7 connection to it using the LAN address (192.168.1.85) and that connected fine but I can't get it to work through the BT HH3 via the WAN address. I've forwarded port 1723 to 192.168.1.85 and tried disabling the firewall, enabling port clamping and putting the RPi in the DMZ, none of which made any difference.
    Is anyone able to help please?

    Did some testing from my parents house yesterday and whilst connected to their router (Virgin Media) and/or a local BTWiFi hotspot (I can't honestly remember if I tried both or if I only tested with one or the other), I was able to connect to the VPN Server from my phone.
    I can also connect from my home PC using Putty to the VPN Server on SSH (port 22) with that forwarded in the router using the WAN address, so NAT travesal doesn't seem to be an issue.
    Yet I still can't connect to the VPN Server from home, whether connected to my HH3 or a local BTWiFI-with-FON hotspot, using the WAN address, only the LAN address, which doesn't make any sense to me.
    I don't think it's relevant to this problem but I want to ask a question about the router firewall as the description for Default (which is what I have enabled) says "Allow all outgoing connections and block all unsolicited incoming traffic. Games and application sharing is allowed." but it doesn't appear to block unsolicited incoming traffic as otherwise I don't think I'd have been able to connect to the VPN Server from my parent's house, or on SSH from my PC using the WAN address. So is the description incorrect?

  • Can't Connect to the OpenVPN Server

    Hi, I need help
    I can't connect to the OpenVPN Server from my Mobile Phone, using OpenVPN Connect App
    because I get IP Public so, I registered the IP with dyndns, any advice for the Setup ?
    Thanks

    Check this out to see if you missed anything.
    http://kb.linksys.com/Linksys/ukp.aspx?pid=80&vw=1&articleid=29293

  • Can't connect to the database after 1-2 day, Named Pipes Provider, error: 40,Microsoft SQL Server, Error: 121

    HI
    I have a problem. I can't connect to the database. It said : 
    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider,
    error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 121)
    When I restart the server, I can connect normally. But after 1-2 days, it can't be connected. 
    How can I fix this?

    Hi Lee,
    Please refer to the following article to configure SQL Server 2005 to allow remote connections:
    http://support.microsoft.com/kb/914277/en-us
    Regards,
    Elvis Long
    TechNet Community Support

  • How can I connect to a windows server from a mac book pro

    How can I connect to a windows server from a mac book pre?

    I have a Dell Power Edge T110 ii in the office that has files and software I need to access when away from the office, when I am on the road I use a mac book pro and an iPad.
    I am sorry if I am being a bit vague but this is all new to me, I have tried 3 IT guys but they can not find a way.
    Any help is greatly appeciated.

  • "Safari can't connect to the proxy server"

    Hello again...
    My 10.6 Server is up and running! thanks for all the help...however...
    When I try to access the internet via Safari from the actual server, I get the "Safari can't connect to the proxy server" message" but all the client machines can successfully access the internet....
    I'll start to read up on proxies but if someone can offer a suggestion in the meantime, that would be terrific. I know it's something simple I am missing...
    thanks!

    No snarkiness taken Mr. Hoffman...As a full-time high school teacher, I've been setting up our small school server on my own time for the past three months...with the help of the server docs, manuals, and the great help found within this forum, we are finally to a point where we can begin using the server.
    What I'm just not understanding is WHAT proxy do I use? I see all kinds of proxy servers out there but is there a specific one I should be using?
    Again, forgive me for my ignorance on this matter...I just don't understand why after a year of not using a proxy server, all of a sudden we need to have one? And this issue came about when Safari was unable to "connect to the proxy server"...
    MrHoffman wrote:
    1) So normally, there ISN'T a proxy being used?
    Proxies are used in school and corporate environments, and as a mechanism to >implement "network nanny" or parental controls, or when information leakage >involving sensitive or classified data, or personal or credit card data, or >other sensitive data is involved.
    When IT folks (or parents) are looking to monitor or control or track network access.
    up to this point I don't believe we were using a proxy server?
    2) A proxy "regulates" what traffic is passed between machines?
    A proxy can enforce access, or can cache access, yes.
    So no proxy in effect means traffic goes unchecked between computers...?
    Correct.
    do we HAVE to use a proxy server with the server?
    3) Where does a proxy take effect? At the Router/Gateway? The Server? or >individual machines?
    A functional proxy requires a proxy server, and settings at the firewall, and >on the client box.
    The proxy setting can be established via WGM, or locally via the system >preferences, or (and the following are less common) via malware or such, or due >to a bug. These settings are usually altered with WGM and system preferences, >in the vast majority of cases.
    Enabling a proxy server on the snow leopard server should help us out...but again, which address do I use? (in the server doc you referenced, it had "proxyserver.apple.com:8080")but I think that was just the format to use...
    Without intending any snark, read the manuals? Servers are big and complex >and expect an understanding of much more than the client boxes do; that's the >inherent difference between "server computing" and "client computing", after >all.
    I'm definitely appreciating how much involvement and understanding it takes to get one of these set up...and over the past three months, we've come a long way...
    again, thanks for the guidance and help!

  • HT1338 Software Update can't connect to the update server. Make sure you're connected to the Internet, and then try again

    I have been getting this message on MAC OS 10.6.3  "Software Update can’t connect to the update server. Make sure you’re connected to the Internet, and then try again". Internet is working fine for everything else. Updating to 10.6.8 and applying all the security updates and patches [directly downloading from the apple website] has not resolved the issue. Read somewhere about a software update enabler for 10.6, installed it, but not helping.. [not sure of the update server settings to be entered] .Is there no way to make the software update work from the Apple Start Menu??

    Problem solved.. Expired rules in Little Snitch caused the glitch

  • How can I find out the mail server from email address?

    Hi:
    How can I find out the mail server from email address?
    for example: If I know the email address is [email protected],
    how to find the pop3 and smtp mail server?
    THANK YOU

    You can't tell by the email address since you can pretty much put whatever you want in there (especially if the SMTP server is not filtering anything).
    The header may be able to tell you something. There is a Received header value which looks like it has the routing information although I am not sure if this is a complete trace or just the last hop the message took.
    Sean

  • How can I connect to the database using ODBC within excel.

    Hi,
    How can I connect to the database using ODBC within excel and just refresh the data when needed.
    Thanks,
    Priyanka
    Edited by: user554934 on Jun 9, 2009 2:53 AM

    This is NOT an APEX relevant question, try posting it in the SQL/PL/SQL Forum..
    Thank you,
    Tony Miller
    Webster, TX

  • I have trying for days to download Firefox 4.1. It goes through all the motions, but when it gets to the final step, it can't connect with the download server. What should I do? It keeps telling me this download is strongly recommended.

    It downloads everything, but when I re-start, it can not connect to the download server.
    I've left it open and it never connects.

    Your UserAgent indicates that you used Firefox 3.6.17 to post here. <br />
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17
    What does it say about the version of Firefox you have in '''Help > About Firefox'''?
    If it says Firefox 4.0 or 4.0.1, see if this helps you: <br />
    https://support.mozilla.com/en-US/kb/Websites+or+add-ons+incorrectly+report+incompatible+browser

  • Software Update can't connect to the update server.

    I have an iMac 8-1 with OS is Mac OS X, version 10.7, 2.4 GHz Intel Core 2 Duo, and 3 GB 800 MHz DDR2 SDRAM memory.
    When I try to update software I get this error message:
    The file “AppleMobileDeviceSupportDelta.pkg” couldn’t be found on the server “swcdn.apple.com”.
    Software Update can’t connect to the update server. Make sure you’re connected to the Internet, and then try again.
    I don't know how to "connect to the update server" but I guarantee that I AM connected to the internet!

  • TS3276 Hi there I am having trouble with my outlook express this is the first time it has happened it keeps telling me can't connect to the SMTP server and every password I have tried is incorrect this is for 'iCloud' very frustrating as all our phones ar

    Hi there I am having trouble with my outlook express this is the first time it has happened it keeps telling me can't connect to the SMTP server and every password I have tried is incorrect this is for 'iCloud' very frustrating as all our phones are ok

    Well I am feeling a bit silly now because that was all I had to do. In the past Workgroup Manager had always opened right up to the list of my users, I never even thought to click on that but apparently that was all that was needed.
    I still am not sure how the iChat Server preferences changed themselves on me, but it is not the first time I have had weird "settings" issues with our Snow Leopard Server.
    Thanks!

  • Can't connect to the Adobe Server

    Elke keer als ik Photoshop of Lightroom opstart krijg ik de volgende foutmelding:
    "We're sorry - we can't connect to the Adobe Server right now"
    "18 days remaining"
    "Just a reminder that we need to verify that your membership is current. You can keep accessing Adobe Photoshop CC offline, but if you don't connect to the Adobe Server within the time displayed, your product will stop working."
    Onderaan heb ik alleen de optie om op "Retry" te klikken, of "OK".
    Wat moet ik hiermee doen?
    Every time when I launch Photoshop or Lightroom I am getting the following message:
    "We're sorry - we can't connect to the Adobe Server right now"
    "18 days remaining"
    "Just a reminder that we need to verify that your membership is current. You can keep accessing Adobe Photoshop CC offline, but if you don't connect to the Adobe Server within the time displayed, your product will stop working."
    At the bottom, I only have the option to click on "Retry" or just "OK".
    What should I do with this?

    Moving the discussion to Photoshop Lightroom forum.
    Regards,
    Anit Kumar

  • TS1717 I can't connect to the Itunes server..firewall is allowing it but no connection..ideas?

    I can't connect to the Itunes server..firewall is allowing it but no connection to the Itunes store. The sign in and password are correct

    Why not do a "Restore"  in iTunes to set it back to factory settings? That will eliminate any previous information that is causing you issues in use. You will have an iPod which you can sync as if it is new with your settings and info.

  • TS1363 I can't connect to the itunes store from my Windows Vista PC. I have run diagnostics and itunes have verified my internet connection as positive, but not the secure link to the itunes store. This comes up as failed.  Any suggestions?

    I can't connect to the itunes store from my Windows Vista PC. I have run diagnostics and itunes have verified my internet connection as positive, but not the secure link to the itunes store. This comes up as failed.  Any suggestions?

    everytime I try to open the store it endlessly says "accessing iTunes store" but it never opens.
    With those symptoms, I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

Maybe you are looking for

  • Ref Cursor over Implicit and explicit cursors

    Hi, In my company when writing PL/SQL procedure, everyone uses "Ref Cursor", But the article below, says Implicit is best , then Explicit and finally Ref Cursor.. [http://www.oracle-base.com/forums/viewtopic.php?f=2&t=10720] I am bit confused by this

  • Multiple empty Last Import albums in iPad Photos

    I use the camera connection kit to pull photos from an SD card into my iPad 2. This has worked perfectly for about half a year. Recently after importing, I noticed that instead of a single "Last Import" album in the Photos app on the iPad, there were

  • Problem during material variant creation

    Hi Guys, I am trying to create material variant in MM01. I entered configurable material let's say DESKTOP. nOw i have partial variant scenario so instead of entering all 30 characteristics i need to enter only 3 characteristics.These 3 charcteristic

  • ICal will not open in 10.5.3

    Just upgraded to 10.5.3 and tried to Open iCal and got this error message: "Calendar Cache" could not be moved because you do not have appropriate access privileges for "Calendars". To view or change access privileges, select the item in Finder and C

  • Aperture 3 - Uploads to Flickr and MobileMe

    I've been using Aperture 3 on my nearly new iMac for almost a week. I decided to upload some photos to MobileMe and Flickr. The photos upload without problem and appear in the galleries in both cases. Its once the uploading is complete that the troub