Jump to content

[SOLVED] No database selected:1046


sillyfishyboy

Recommended Posts

Hiya,

 

I have just installed lamp on my home pc to do some development, and this latest problem is doing my head in.  my connection settings appear to be fine as I can access my table date fine when I place my php file in the Apache2 root, however when it is placed a couple of folders up I get a 1046 error.

 

Any thoughts would be appreciated.

Link to comment
https://forums.phpfreaks.com/topic/142371-solved-no-database-selected1046/
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.