Jump to content

Finding Config Info on Free Webhost


doubledee

Recommended Posts

I am using a free web hosting site for my Test Site. (www.byethost.com)

 

They do offer phpMyAdmin, but after poking around, I cannot find the following...

 

- Database Host Name

 

- Database User

 

- Database Password

 

Where would I find this critical information, so I get my database and site running?!

 

 

 

Debbie

 

 

Link to comment
Share on other sites

You need to ask your hosting company. We don't have that information.

 

On my Dev Laptop

SELECT CURRENT_USER( ) 

root@localhost

------------------------
SELECT USER()

root@localhost

 

 

 

On my Free Hosting Account

SELECT CURRENT_USER( ) 

b2_12345@%

------------------------
SELECT USER()

b2_12345@192.168.0.2

 

 

What is the percentage sign?

 

What is 192.168.0.2?

 

 

Debbie

 

Link to comment
Share on other sites

The MySQL default credentials are located in the MySQL section of the php.ini file. however, they are not always set.

 

What good would knowing that do me on a Shared Host?!

 

 

Debbie

Well, yeah you should just contact your hosting provider for this, but what I was getting at is you can use ini_get to view the default values, whether that will help you or not I'm not sure here, odds are that the credentials are host=localhost user=root password=""

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.