Jump to content
php.lv forumi

WORDPRESS/latviešu valodā!


Recommended Posts

uploudoju to mapi visu bet kad gāju uz saitu uzmeta

''Error establishing a database connection''


Sapratu kad ir jāaizpilda wp-config-sample.php un tur rakststīts šis un varbūt varētu uzrakstīt lv valodā kas tur jārakstsa un kur to var dabūt. :)


// ** MySQL settings - You can get this info from your web host ** //

/** The name of the database for WordPress */

define('DB_NAME', 'putyourdbnamehere');


/** MySQL database username */

define('DB_USER', 'usernamehere');


/** MySQL database password */

define('DB_PASSWORD', 'yourpasswordhere');


/** MySQL hostname */

define('DB_HOST', 'localhost');


/** Database Charset to use in creating database tables. */

define('DB_CHARSET', 'utf8');


/** The Database Collate type. Don't change this if in doubt. */

define('DB_COLLATE', '');

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...