Contact

hs-icon-callcenter
Call
hs-icon-callcenter

Call us

Our support team is happy to help you, be it for technical or administrative issues. We’re there for you!

 

+41 (0)84 800 80 80
(Calls from Switzerland 8 centimes / minute)

Administration

Monday to Saturday
9.00 – 12.00 am
1.30 – 5.30 pm
 

Technical Support

Monday to Friday
8:00 am – 5:30 pm

Saturday
9:00 am – 4:00 pm

hs-icon-doc-write
Write
hs-icon-doc-write

Write to us

To be able to help you as quickly and effectively as possible, we kindly ask that you make your request as specific as possible. And of course you can contact us by email: support@hoststar.com

All fields marked with «*» are mandatory and must be completed.

 

MySQL errors

Support > >

An error appears when trying to access MySQL. There are several possible causes:

When accessing a MySQL database, you receive one of the following errors or a similar error:

  • Could not connect to database.
  • Access denied for user ‘XXX’@’localhost (using password: YES)’

It is likely that the login details used to access the MySQL database were incorrect.

The necessary MySQL login details consist of the following:

  • Database host:
    • localhost or 127.0.0.1: If you want to access a database directly from your hosting account.
    • lx#.hoststar.hosting: (The first letter of the server name is a small L like Linux. Replace # with the effective server number of your hosting.) if you want to access a database directly.
  • Database name: This is the name you entered when you created the database.
  • Database user: The username of the user you assigned to the database.
  • Database password: The user password you assigned to the database. If you have forgotten the password, you can change the password.
Was this article helpful?