I couldn’t find the host for MySQL on xvhost. How could I find it cause I need it for my php file, look:
your help would be appreciated
Hello @GoldenGhost.
Keep in mind that this is support forum only for InfinityFree, but we can make exceptions ;), but in future please use the XVHost ticket support system.
First of you have to create a user on MySql database section on your control panel. You must give your user a name for example forum if it will be for forum’s database. You will be asked for permissions to give to your user. I usually give all the privileges, but this may pose a security risk. So I’d recommend you to look up online what are the required permissions for the software/script you want to to create this database for. Then you must create a database and assign your previously created user to it. I usually name my user and database same so it is easier to remember it, however you may need multiple users for different tasks on one database. In that case just name each user different. But usually for a simple script/software install you just need one user = one database.
After that if you named your user and database same, their codenames will be example1_example2. Example 1 will be your hosting account’s nickname which usually is your first/main domain’s name. You can find out your account’s nickname by simply taking a look at upper-right corner of your cPanel interface. But you can see your user’s and database’s name on the list of your databases.
So in MYSQL_DB put your your database’s nickname and in MYSQL_USER your database user’s name. In MYSQL_PASS put the password. And MYSQL_HOST needs to be localhost.
Leave the last line as it is already.
Mike
Thanks, I knew the other things you said, all I needed was the host. Thanks tho and I’ll make a ticket next time
Keep in mind that this is support forum only for InfinityFree, but we can make exceptions ;), but in future please use the XVHost ticket support system.
We don’t really provide ticket support for free hosting, we only handle account suspensions because those need to be checked by staff anyways. Questions like these are “how to” questions, which work fine on a forum.
We don’t really provide ticket support for free hosting, we only handle account suspensions because those need to be checked by staff anyways. Questions like these are “how to” questions, which work fine on a forum.
You have misunderstood me. I said that if he needs help with premium hosting (XVHost) then he should use the ticket system not free hosting forum. But I think that my sentence was badly constructed therefore you misunderstood my sentence.
You have misunderstood me. I said that if he needs help with premium hosting (XVHost) then he should use the ticket system not free hosting forum. But I think that my sentence was badly constructed therefore you misunderstood my sentence.
Apparently I did. It’s quite simple really: InfinityFree questions go on the InfinityFree forum and XVHOST questions go on the XVHOST ticket system.