Support » Installing WordPress » Is it necessary to create the database manually?

  • When running the install script, I get:
    We’re having a little trouble selecting the proper database for WordPress.

    • Are you sure it exists?
    • Your database name is currently specified as wordpress. Is this correct?
    • On some systems the name of your database is prefixed with your username, so it would be like username_wordpress. Could that be the problem?

    When I run mySQL and ask for databases, WordPress does not show up? But nothing in the instructions said I had to start MySQL separately and create a database that way. Doesn’t wordpress do that for me?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Mark (podz)

    (@podz)

    Support Maven

    No, you need to create and name a database, then give the name to WP in ‘wp-config.php’

    Funny, I was sure it was in the documentation, so I went lookng for it. Sure enough, it wasn’t to be found. It’s kinda an importaint “requirement” wouldn’t you say so?
    TG

    Mark (podz)

    (@podz)

    Support Maven

    In my case, I’d agree, but when installing WP for others recently, some cpanels just tell the user the name of the db to use, and there’s no altering that, so saying “You must create the db” could cause confusion.
    It could probably do with a better explanation though.

    Mark (podz)

    (@podz)

    Support Maven

    Thanks for your quick reply–but it’s not longer a 5 minute install. It would certainly be useful if the instructions told me that.
    Now I have a second problem. I’m apparently up and running. After the log-in screen, I get a page with an Apache error message saying: “You don’t have permission to access /wordpress/wp-admin/ on this server.”
    I told the system during the set up phase that wordpress should be accessed at http://localhost/wordpress. As you can see, I was able to access wordpress at that address. So why should apache complain when wordpress attempts to access a subdirectory of that address?
    Thanks.
    — Russ

    Sounds like a file permission (chmod) type of thing.

    I am using MySQL for the first time due to WordPress implementation. Server supports both PhP an MySQL.
    Ordering database creation, it so happened with a given name, upon which I was informed by e-mail. It is not called wordpress. Database name and User ID for database are identical. I followed the instalation instructions closely. Uploaded everything in Web folder on the server. Launching … /wp-admin/install.php failed.
    Error establishing a database connection! …reported.
    Reply on all three subsequent questions is affirmative.
    Is any other information needed or it is obvious where I am mistaking ๐Ÿ˜€ ?

    Mark (podz)

    (@podz)

    Support Maven

    My guess is that ‘localhost’ is wrong.
    Does your host given you an IP address instead for connecting to mysql ?

    Indeed, mentioned e-mail states Host IP while configuration on the Web referes of database running on localhost. Iร‚ยดll give it a try ๐Ÿ˜‰
    It worked!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Is it necessary to create the database manually?’ is closed to new replies.