Wordpress Stackscript Database name?

Hi there forum members,

I have set up my Wordpress hosting through stackscripts and right now, I am not able to get into the Wordpress admin.

I have the database username (root) and database password correct but the systems throws me the error that my database name is wrong.

~~![](<URL url=)http://i66.tinypic.com/15g77lx.jpg" />

I am not a tech guy and don't know where i need to get this information from.

Please do help me with this!~~

2 Replies

@GeoffreyRoger:

Hi there forum members,

I have set up my Wordpress hosting through stackscripts and right now, I am not able to get into the Wordpress admin.

I have the database username (root) and database password correct but the systems throws me the error that my database name is wrong.

~~![](<URL url=)http://i66.tinypic.com/15g77lx.jpg" />

I am not a tech guy and don't know where i need to get this information from.

Please do help me with this! Hmm… Didn't see this till just now. So the dialog you posted mentions the naming issue (ie: are you sure you have the name right?), the permissions issue (are you sure user root has permission to the database?) …etc. To me it looks like the user "root" just doesn't have permission to that database (assuming that you have the name right).

What are you using to interface with your database? (phpmyadmin?, commandline?). How have you verified that root has permission to your wordpress database? You're probably almost there~~

Just a thought here but did you create a database?

From your terminal go into mysql using:

mysql -u root -p

Once in create your database like so:

CREATE DATABASE dbname; (replace dbname with your own)

Then you should for good measure give permission to use the database:

GRANT ALL ON webdata.* TO 'webuser' IDENTIFIED BY 'password'; (Change names as needed i.e. root)

This has always worked for me when I have had database issues.

Hope this helps

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct