Is it necessary to create the database manually? (10 posts)

  1. Anonymous
    Posted 11 years ago #

    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?

  2. Mark (podz)
    Support Maven
    Posted 11 years ago #

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

  3. TechGnome
    Posted 11 years ago #

    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?

  4. Mark (podz)
    Support Maven
    Posted 11 years ago #

    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.

  5. Mark (podz)
    Support Maven
    Posted 11 years ago #

  6. Anonymous
    Posted 11 years ago #

    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?
    -- Russ

  7. Anonymous
    Posted 11 years ago #

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

  8. nenaD
    Posted 11 years ago #

    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 :D ?

  9. Mark (podz)
    Support Maven
    Posted 11 years ago #

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

  10. nenaD
    Posted 11 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.