Skip to content

Cookie settings

Choose which kinds of cookies you allow. You can change your choice at any time via Cookie settings at the bottom of every page. Privacy statement

Necessary

Always on

Needed to log in, keep your cart and remember your choices. These are always on.

Which cookies?
  • weboke_sessie, weboke_klant, weboke_remember: your session and staying logged in
  • weboke_basket: your cart
  • wkBtwIncl: showing prices with or without VAT
  • wok_cookies: your cookie choice, 12 months

Measures which ad leads to a visit or order, so we do not pay for ads that do nothing.

Which cookies?
  • Google Ads via Google Tag Manager (_gcl_au, _gcl_aw), up to 90 days
  • OpenAI Ads, ads in ChatGPT
  • wok_aff: which partner referred you to us (affiliate programme), 60 days

4.6

Country and language

Each country has its own site, with prices and VAT for that country.

View

Joomla: Database Error: Unable to connect to the database

Joomla stores everything in a database. If the connection to the database fails, you'll get the message Database Error: Unable to connect to the database: Could not connect to MySQL.

The connection details are in the file configuration.php in the Joomla folder:

public $host = 'localhost';        // altijd localhost
public $user = 'gebruiker_dbuser';  // je DA-gebruikersnaam, liggend streepje, database-gebruiker
public $db = 'gebruiker_dbnaam';    // je DA-gebruikersnaam, liggend streepje, databasenaam
public $password = 'wachtwoord';    // het wachtwoord van de database-gebruiker

If any of these details is incorrect, you'll get this error. Here's how to check:

  1. Log in to DirectAdmin and click MySQL Management under Account Manager.
  2. Check that the database and the user from configuration.php are listed. Under Manage Users you can see which users have access.
  3. Not sure about the password? Change the password of the database user and enter the same password in configuration.php.

If you installed Joomla with Installatron, you can also see there which database the site uses.

See also in the DirectAdmin manual: 'Error establishing a database connection'.

Detailed explanation with screenshots: Database users, privileges and passwords in the DirectAdmin manual.

Was this article helpful?

← Back to General hosting

One moment…

Set up your domains

For each domain, arrange the nameservers, the link to your hosting and who becomes the owner.

Loading your domains…