Jump to content

hey guys :)

I'm trying to install wordpress on linux to learn.

I installed wordpress, mysql, apache, tried to link apache with mysql server. But the linkage never worked. The apache server is not able to establish a connection with the database.Tried different linux dis. . Tried many tuts, still getting error after error. Bad luck is now so bad that mysql showed my correct password incorrect on ubuntu, but that was solved on linux mint.

Do anyone knows any guide to install wordpress with minimum errors?

Link to post
Share on other sites

Apache does not connect to Mysql. Apache and MySQL both run independently as separate services. PHP code is what uses mysql.

 

What is the exact error you are getting? There is no reason to distro hop for setting up a basic web server. AMP can run on  any linux distro.

Link to post
Share on other sites

3 minutes ago, C2dan88 said:

Apache does not connect to Mysql. Apache and MySQL both run independently as separate services. PHP code is what uses mysql.

 

What is the exact error you are getting? There is no reason to distro hop for setting up a basic web server. AMP can run on  any linux distro.

Error establishing a database connection

at localhost/blog

Link to post
Share on other sites

1 minute ago, C2dan88 said:

This error from wordpress? Make sure MySQL is running and you have configured wordpress with the correct mysql credentials. 

 

What tutorials are using?

https://ubuntu.com/tutorials/install-and-configure-wordpress#1-overview

Link to post
Share on other sites

2 minutes ago, C2dan88 said:

This error from wordpress? Make sure MySQL is running and you have configured wordpress with the correct mysql credentials. 

 

What tutorials are using?

I always stuck on this part https://ubuntu.com/tutorials/install-and-configure-wordpress#5-configure-wordpress

Link to post
Share on other sites

On 8/30/2020 at 12:59 PM, Parvesh Khatri said:

 tried to link apache with mysql server. But the linkage never worked.

apache and mysql are 2 separate servers.

 

On 8/30/2020 at 12:59 PM, Parvesh Khatri said:

The apache server is not able to establish a connection with the database.

Is the following uncommented in your php.ini?

extension=pdo_mysql
extension=mysqli

 

On 8/30/2020 at 12:59 PM, Parvesh Khatri said:

bad luck is now so bad that mysql showed my correct password incorrect on ubuntu

That is unlikely, how did you create the account and how did you test the account?

 

On 8/30/2020 at 1:06 PM, Parvesh Khatri said:

 

at localhost/blog

what is "localhost/blog" the url or what your using as to try to connect to MySQL with?

 

On 8/30/2020 at 1:40 PM, Parvesh Khatri said:

Php is already installed but can't open phpmyadmin

Did you setup phpmyadmin? it's not part of php or MySQL.

Link to post
Share on other sites

My Folding Stats

My BOINC Stats

 

 

VelosterN:

AMD Ryzen 9 5950X - Asus ROG Strix X570-E Gaming - Corsair Vengeance RGB Pro 3600Mhz 32GB - Asus ROG Strix Gaming 6750 XT OC

Corsair Crystal Series 680x RGB - Samsung 970 Evo Plus 250GB NVMe - Samsung 970 Pro 512GB NVMe - Samsung 860 Pro 256 GB 2.5" SSD X2

EVGA P2 80+ Platinum 850Watt PSU - BenQ XL2730Z 27.0" 2560x1440 144 Hz - be quiet! Dark Rock 4

Corsair K70 LUX - Logitech G502 Proteus Spectrum - Sennheiser HD599 - Blue Yeti Mic

Windows 11 Professional Version 22H2

BettyBoop:

AMD Ryzen 5 2600X - Asus ROG Strix B450-I Gaming - Corsair Vengeance LPX 3000Mhz 16GB - Asus ROG Strix Gaming 5500 XT - Fractal Design Core 500

Samsung 860 Pro 512GB Sata - EVGA 550GM 80+ Gold 550Watt SFX PSU - be quiet! Dark Rock 4

Windows 11 Professional Version 22H2

HTPC:

Intel i7 6700K - Asus Maximus Hero VIII - Corsair Vengeance LPX 3000MHz 16GB - MSI RX480 Gaming-X 8GB - Cooler Master 932 HAF

Seagate 250GB HDD - EVGA G2 80+ Gold 650Watt PSU - Corsair H100i

Windows 10 Professional Version 21H2

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×