• layaraj

    (@layaraj)


    Hi,

    While installing wordpress in localhost, after adding database details I am getting a message like ‘Error establishing a database connection’. I have installed xampp and started appache (port: 80, 443 ) and mysql (port: 3306), running.

    Created database and gave correct details in config file. Also gave the correct database details during installation.

    But what I noticed is when I start installing wordpress a system message was there showing UAC is active and it will prevent some features.

    When I searched UAC setting section the slider is adjusted to bottom. I went through task manager->tools section and searched for mysql, it was not there.

    after starting appache and mysql it shows like below.

    11:05:49 AM [main] All prerequisites found
    11:05:49 AM [main] Initializing Modules
    11:05:49 AM [main] Starting Check-Timer
    11:05:49 AM [main] Control Panel Ready
    11:05:52 AM [Apache] Attempting to start Apache app…
    11:05:53 AM [Apache] Status change detected: running
    11:06:08 AM [mysql] Attempting to start MySQL app…
    11:06:10 AM [mysql] Status change detected: running

    How can I fix this issue. Only after fixing this issue I can start in local. Also, I installed xampp in my F folder, because earlier stage itself I got UAC issue message. Also I tried using command prompt to activate mysql. F\xampp\sql\bin (I am not getting sqlserver 8.0 folder)

    Please help me to solve this

    • This topic was modified 3 months ago by James Huff. Reason: moved to Localhost Installs since this is a localhost install
Viewing 5 replies - 1 through 5 (of 5 total)
  • threadi

    (@threadi)

    The problem is that the PHP used by WordPress cannot connect to the database. This happens if the access data is incorrect or the database is not accessible. I am currently guessing the latter. There may be a firewall in the way that is preventing the connection. You would have to check this more closely on your local system.

    Thread Starter layaraj

    (@layaraj)

    Thank you for your fast reply.

    I disabled firewall and UAC in control panel and restarted the system, still showing the same issue.

    Whether to uninstall and reinstall xampp required?

    threadi

    (@threadi)

    That could help, but I can’t say for sure. If it still doesn’t work, it’s best to ask in a community that supports XAMPP: https://www.apachefriends.org/community.html

    Thread Starter layaraj

    (@layaraj)

    Let me check.

    Thank you

    jcleon

    (@jcleon)

    Hola inicia el Xampp en modo administrador.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.