Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

No Database Selected error

New Here ,
Jun 05, 2010 Jun 05, 2010

Copy link to clipboard

Copied

Hi,

I am trying to upload my site to the web. Everything works great except the login page. When you get to the login page, the browser window simply displays:

No database selected

The page works fine on my testing server, and I have the same names for the databases on my testing server and my host site. Any ideas for some things I could try?

You can view my site here:

www.globaldevicesolutions.com

Thanks,

Kevin

TOPICS
Server side applications

Views

1.3K
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 05, 2010 Jun 05, 2010

Copy link to clipboard

Copied

Have you included the db connection?. Could you post your code?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 08, 2010 Jun 08, 2010

Copy link to clipboard

Copied

Just take a look to your database connection, make sure you have selected dabatase name correctly... and... don't forget to check your web server features, make sure it can run your script with the web server environment, such as the include library, php version, database version, etc...

SOA Tutorial - Hello World Examples

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 09, 2010 Jun 09, 2010

Copy link to clipboard

Copied

LATEST

Hi,

Many problems can be: with user rights, with your code, with firewall.

May it will help:

http://www.programva.com/en/leran-php-lessons/367-php-mysql-connection-unsuccessful-connect

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines