WordPress stackscript default username?

https://manager.linode.com/linodes/rebu … criptID=12">https://manager.linode.com/linodes/rebuild/linode1448276?StackScriptID=12

I've installed this without doing anything else, am I doing it wrong? 'admin' and 'WordPress' don't work and I've not been given a chance to create a username?

5 Replies

There is no default user for Wordpress. What you should do is install the StackScript with the Linode, then visit your IP address in your web browser. You'll then go through your Wordpress setup, which during that you pick your username and password. The only information you supply the StackScript ahead of time is your MySQL password (use the user root initially), and your root password for your whole Linode.

Thanks, that's actually where I'm at, i didnt explain it very well.

The first page of the WordPress install requests information I don't have and I can't find it amongst the documentation sorry.

![](" />

You will have to create a database in mysql and give access to a "user" that can be a name of your choosing and "identify" that user when granting access by a password. The information that you create in the database is the information that you will enter into this dialog box.

For example (while in mysql as an administrator):

create database wordpressdb;

grant all on wordpressdb.* to wpdbusr identified by 'somepassword';

Therefore:

Database name = wordpressdb

Database user name = wpdbusr

Password = somepassword

Jeff

When you first deploy the WordPress StackScript, it asks you for a DB root password and DB name. The DB root password is the password you would use it, the username is root, and the DB name is the name you provided.

Database host and table prefix can be left the way it is.

We'll make this clearer in the StackScript during it's next update.

You should not use a root user for the wordpress install… That way if you get some sketchy code running you are endangering the entire mysql server.

It would be much better if the stack script would provide, or at least explain you should also set up a user for that mysql db.

really, the stackscript should ask for a username to set-up as well, if its already taking care of the database.

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