Wordpress cant connect to my database
up vote
0
down vote
favorite
I get to the point where i have to configure my wordpress and by that the database to which it should connect to.
here is how i created the database in mysql:
mysql>create database `wplocal`;
username is "root", going @ localhost and password is "lmao". Apache server is running, everything is working fine.
except when I actually click to configure the database, bum, this badboy pops up:
i've tried deleting the database and creating it again, restarting the apache server, even manually configuring the wp-config.php file. nothing works. any help helps :). thank you if you took your time.
18.04 apache2 mysql wordpress
add a comment |
up vote
0
down vote
favorite
I get to the point where i have to configure my wordpress and by that the database to which it should connect to.
here is how i created the database in mysql:
mysql>create database `wplocal`;
username is "root", going @ localhost and password is "lmao". Apache server is running, everything is working fine.
except when I actually click to configure the database, bum, this badboy pops up:
i've tried deleting the database and creating it again, restarting the apache server, even manually configuring the wp-config.php file. nothing works. any help helps :). thank you if you took your time.
18.04 apache2 mysql wordpress
1
Welcome! Your question more relevant to serverfault.com or webmasters.stackexchange.com communities. Not sure this question is have Ubuntu as general target.
– S_Flash
Nov 15 at 23:43
1
Did you granted permission to access this DB?
– Kuribo Kutsu
Nov 16 at 0:15
1
from the Mysql shell runshow grants;
so we can see if root has the correct permissions
– Andrea Olivato
Nov 16 at 1:50
2
Possible duplicate of WordPress Installation Failed
– pa4080
Nov 18 at 10:09
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I get to the point where i have to configure my wordpress and by that the database to which it should connect to.
here is how i created the database in mysql:
mysql>create database `wplocal`;
username is "root", going @ localhost and password is "lmao". Apache server is running, everything is working fine.
except when I actually click to configure the database, bum, this badboy pops up:
i've tried deleting the database and creating it again, restarting the apache server, even manually configuring the wp-config.php file. nothing works. any help helps :). thank you if you took your time.
18.04 apache2 mysql wordpress
I get to the point where i have to configure my wordpress and by that the database to which it should connect to.
here is how i created the database in mysql:
mysql>create database `wplocal`;
username is "root", going @ localhost and password is "lmao". Apache server is running, everything is working fine.
except when I actually click to configure the database, bum, this badboy pops up:
i've tried deleting the database and creating it again, restarting the apache server, even manually configuring the wp-config.php file. nothing works. any help helps :). thank you if you took your time.
18.04 apache2 mysql wordpress
18.04 apache2 mysql wordpress
edited Nov 15 at 23:42
S_Flash
1,001117
1,001117
asked Nov 15 at 23:39
Gašper Božič
11
11
1
Welcome! Your question more relevant to serverfault.com or webmasters.stackexchange.com communities. Not sure this question is have Ubuntu as general target.
– S_Flash
Nov 15 at 23:43
1
Did you granted permission to access this DB?
– Kuribo Kutsu
Nov 16 at 0:15
1
from the Mysql shell runshow grants;
so we can see if root has the correct permissions
– Andrea Olivato
Nov 16 at 1:50
2
Possible duplicate of WordPress Installation Failed
– pa4080
Nov 18 at 10:09
add a comment |
1
Welcome! Your question more relevant to serverfault.com or webmasters.stackexchange.com communities. Not sure this question is have Ubuntu as general target.
– S_Flash
Nov 15 at 23:43
1
Did you granted permission to access this DB?
– Kuribo Kutsu
Nov 16 at 0:15
1
from the Mysql shell runshow grants;
so we can see if root has the correct permissions
– Andrea Olivato
Nov 16 at 1:50
2
Possible duplicate of WordPress Installation Failed
– pa4080
Nov 18 at 10:09
1
1
Welcome! Your question more relevant to serverfault.com or webmasters.stackexchange.com communities. Not sure this question is have Ubuntu as general target.
– S_Flash
Nov 15 at 23:43
Welcome! Your question more relevant to serverfault.com or webmasters.stackexchange.com communities. Not sure this question is have Ubuntu as general target.
– S_Flash
Nov 15 at 23:43
1
1
Did you granted permission to access this DB?
– Kuribo Kutsu
Nov 16 at 0:15
Did you granted permission to access this DB?
– Kuribo Kutsu
Nov 16 at 0:15
1
1
from the Mysql shell run
show grants;
so we can see if root has the correct permissions– Andrea Olivato
Nov 16 at 1:50
from the Mysql shell run
show grants;
so we can see if root has the correct permissions– Andrea Olivato
Nov 16 at 1:50
2
2
Possible duplicate of WordPress Installation Failed
– pa4080
Nov 18 at 10:09
Possible duplicate of WordPress Installation Failed
– pa4080
Nov 18 at 10:09
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093333%2fwordpress-cant-connect-to-my-database%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Welcome! Your question more relevant to serverfault.com or webmasters.stackexchange.com communities. Not sure this question is have Ubuntu as general target.
– S_Flash
Nov 15 at 23:43
1
Did you granted permission to access this DB?
– Kuribo Kutsu
Nov 16 at 0:15
1
from the Mysql shell run
show grants;
so we can see if root has the correct permissions– Andrea Olivato
Nov 16 at 1:50
2
Possible duplicate of WordPress Installation Failed
– pa4080
Nov 18 at 10:09