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. Quote 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... Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/142371-solved-no-database-selected1046/#findComment-746009 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.