sillyfishyboy Posted January 25, 2009 Share Posted January 25, 2009 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 More sharing options...
Mchl Posted January 25, 2009 Share Posted January 25, 2009 The file SHOULD be in Apache root... Link to comment https://forums.phpfreaks.com/topic/142371-solved-no-database-selected1046/#findComment-745957 Share on other sites More sharing options...
sillyfishyboy Posted January 25, 2009 Author Share Posted January 25, 2009 Lol, Yes that would explain it. I thought I had been able to achieve this in previous projects, although I had obviously just worked around it. Many thanks. Link to comment https://forums.phpfreaks.com/topic/142371-solved-no-database-selected1046/#findComment-746009 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.