Jump to content

Recommended Posts

Ask the host.  Normally, you'll have access to some sort of server control panel (Cpanel, Plesk, etc.) that allows you to set up a database and also something like phpMyAdmin to administer the database.

 

I did that, but where would file be after creating the database

table?

Link to comment
https://forums.phpfreaks.com/topic/52398-solved-database-setup/#findComment-258654
Share on other sites

The database/database tables will exist on the web server.  Since it's shared hosting, you'll find that if you choose wombat as a database name, your database will be something like your_username_wombat (so no other shared user has access), but otherwise you won't notice any differences from running a db on your own computer/server.

Link to comment
https://forums.phpfreaks.com/topic/52398-solved-database-setup/#findComment-258657
Share on other sites

The database/database tables will exist on the web server.  Since it's shared hosting, you'll find that if you choose wombat as a database name, your database will be something like your_username_wombat (so no other shared user has access), but otherwise you won't notice any differences from running a db on your own computer/server.

 

Basically, there will be no file added to the server, is what you

are saying, correct? I would access it by using the name and password or

how would I access it?

Link to comment
https://forums.phpfreaks.com/topic/52398-solved-database-setup/#findComment-258665
Share on other sites

er, no. There will be a new database (or databases) added to the server. You will be able to access it in exactly the same way as you would access a database on a dedicated server, i.e. you'll need the hostname (usually localhost), the database name (probably your_username_dbname), your database login (typically your_username_whatever-you-chose), and your database password.

 

All that ought to be very clear from the database set-up page accessed through your shared server control panel.

Link to comment
https://forums.phpfreaks.com/topic/52398-solved-database-setup/#findComment-258671
Share on other sites

Database file? What do you mean, and who cares where it resides. You access it the same way as any other database; you adminster it through tools like phpMyAdmin provided by your web host.  Do I assume that your web host declines to provides any information about the use of their server features?

Link to comment
https://forums.phpfreaks.com/topic/52398-solved-database-setup/#findComment-259477
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.