Hi, I just want to know how to add a user to the mysql database, because I would like to install namelessmc and I have to add it to the database otherwise it won’t work. I searched on phpmyadmin but I can’t find anything, help me and provide me with a detailed description, because I’m incompetent. Thank you
Not possible on free hosting
Every hosting account comes with one database user that has access to all databases associated with that account. You can find the credentials in the MySQL Databases page in the client area. If you want to connect an application to your database, that’s the credentials you have to use.
Granular MySQL permissions control (where you can create multiple users with restricted permissions) is a premium only feature.
what is the username? Can it be changed? Where can I find it? Please give me a detailed description, like a tutorial.
if I enter the correct mysql credentials it tells me: “SQLSTATE[HY000] [1044] Access denied for user ‘if0_36347868’@‘192.168.%’ to database ‘hyfiremc’”
[image]
Please check our knowledge base before posting, we have some very specific information on that exact error message:
Because the error message very clearly shows that the database name you’re using is wrong.
Like you already found:
No.
In the MySQL Databases section in the client area and control panel. You can’t miss it.
I’ve already tried and it worked fine but I think I have to use the database address that I think is: 127.0.0.1, I don’t really understand what I should do to install this namelessmc
No, that’s not correct. We call it the “Database Hostname” instead of the Database Address.
All you need to do is create a database through our panel, and enter the right details (database hostname, database name, username and password) in the installation wizard. Only the port should be left default, all the other details can be found in the client area.
Creating the database and obtaining the credentials is easiest from the client area, because it actually shows you all the details.
I did the whole procedure… but it tell me: Unable to connect to the database:
SQLSTATE[HY000] [1044] Access denied for user ‘if0_36347868’@‘192.168.%’ to database ‘hyfiremc’
But not correctly. And you ignored what I told you before:
I already told you: the database name is wrong.
How do I know? Because database names are always prefixed with your account username. So if you request to create a database with the name hyfiremc
, then the actual database name will be if0_36347868_hyfiremc
.
Please make sure to COPY the database details AS THEY ARE SHOWN. Don’t invent your own credentials based on what you think they should be.
thank you so much, I love you, sorry if I don’t follow you, but I don’t understand much about these things
but there’s only one thing I don’t understand: I deleted the index.html and its corresponding css, but it’s still there in the forum, I can still see it
Tried clearing your browser cache? (Ctrl + F5 or incognito mode)
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.