Viewing 4 replies - 1 through 4 (of 4 total)
  • ? Not sure what you need, could you specify please?

    Thread Starter Jakub

    (@jakub)

    this is my MySql and I have problem with config.php <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘hvarhotelz’); // The name of the database
    define(‘DB_USER’, ‘hvarhotel’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘******’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple blogs in a single database.
    $table_prefix = ‘wp_’; // example: ‘wp_’ or ‘b2’ or ‘mylogin_’

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* Stop editing */

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>

    OK, this is your config file [I moderated the password – you should never publish your pw].
    What’s the problem?

    Will depend on your host if that’s the right info. Did you get the info on your database name and user name from them? Many times the database name will be something the host uses as a site identifier, appended with an underscore and THEN the database name you set up; so would be maybe like jakubho_hvarhotelz, and the user name would be something like jakubho_hvarhotel (not that the first part there would be exact, but you should get the idea).

    Last resort, ask your webhost.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hvar hotel’ is closed to new replies.