Jump to content

SQL/DB Error -- (No Database Selected)... B.S.!!!


obi1kanobe

Recommended Posts

Hi all,

I'm somewhat of a HALF-newbie to the php world, i've done everything from simple php site building, to editing large php databases.  Usually I can figure things out, but this time I feel like I'm between a rock and a hard place!!!

Right now, I've been asked to move a pretty large database for a business from one server to another, and I've managed to get the site up and running until I get this error stating:
SQL/DB Error -- [No database selected]

When I go into my ez_sql.php file, all is pointed to the proper database's directory.

Within this directory, there's a "distributors" table, which has all our distributors listed (obviously) with information that's supposed to show up on the front page, yet... nothing comes up, except for that error... PLEASE HELP!
Thank you all!

:: edit ::

In addition... I think the problem is stemming from the following:

SQL/DB Error -- [
error selecting database (NAME OF OUR DATABASE)!
1. Are you sure it exists?
2. Are you sure there is a valid database connection?
]

to answer the first question that it asks... yes, there is such database... it's in there, and i'm looking at it...
PLEASE help!!!

thanks again!
Link to comment
https://forums.phpfreaks.com/topic/27469-sqldb-error-no-database-selected-bs/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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