nia_st210 Posted June 4, 2011 Share Posted June 4, 2011 When I try to open my database I get this PHP Error Message .. Fatal error: Unknown: Failed opening required '/usr/lib/php/head.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0 I didn't touch anything .. I can access to my website but can't access my database in phpmyadmin .. What is problem ? Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/ Share on other sites More sharing options...
Pikachu2000 Posted June 4, 2011 Share Posted June 4, 2011 Something must have changed if it all of a sudden doesn't work. Does the file head.php still exist in the /usr/lib/php/ directory? Did you move any other files? Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/#findComment-1225145 Share on other sites More sharing options...
nia_st210 Posted June 4, 2011 Author Share Posted June 4, 2011 Something must have changed if it all of a sudden doesn't work. Does the file head.php still exist in the /usr/lib/php/ directory? Did you move any other files? I'm trying to open http://sqlxxxweb.com/phpMyAdmin/index.php And it show me Fatal error: Unknown: Failed opening required '/usr/lib/php/head.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0 .. I really didn't change anything .. My website worked perfect more than 1 month .. And suddenly this happened .. Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/#findComment-1225150 Share on other sites More sharing options...
nia_st210 Posted June 4, 2011 Author Share Posted June 4, 2011 My database table's are deleted .. I don't know why .. When I try every table to open it show that doesn't exist .. Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/#findComment-1225153 Share on other sites More sharing options...
monkeytooth Posted June 4, 2011 Share Posted June 4, 2011 is this a self hosted DIY server like xamp or some other LAMP/WAMP stack or is this hosted via a company.. if your using windows try downloading a tool called NaviCat its a robust desktop version of phpMyAdmin (putting it lightly) see if you can connect through that tool and do what ya gotta do. In the mean time though tell us more about your scenario what were you doing up to and prior to noticing your tables are deleted or whatever the case is? tell us more about your environment for your hosting and so on. Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/#findComment-1225159 Share on other sites More sharing options...
Pikachu2000 Posted June 4, 2011 Share Posted June 4, 2011 If you're getting the above error, how would you even know what the status of the database is? The script is killed before you even get that far, assuming those errors are occurring, as you've said, when you attempt to access phpMyAdmin. If phpMyAdmin is provided by your hosting company, you should contact them regarding this issue. Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/#findComment-1225160 Share on other sites More sharing options...
nia_st210 Posted June 4, 2011 Author Share Posted June 4, 2011 I'm using WAMP , windows 7 .. Thank you for advices .. Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/#findComment-1225164 Share on other sites More sharing options...
Pikachu2000 Posted June 4, 2011 Share Posted June 4, 2011 Then I have to say again, something had to have changed. Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/#findComment-1225181 Share on other sites More sharing options...
nia_st210 Posted June 4, 2011 Author Share Posted June 4, 2011 I noticed 4 different IP addresses every day were on my website for past 4 days , yesterday 7 times so I suppose these IP addresses had something with it .. I blocked this IP addresses .. Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/#findComment-1225195 Share on other sites More sharing options...
QuickOldCar Posted June 4, 2011 Share Posted June 4, 2011 I don't know too many people that would pay 300 to 500 dollars for NaviCat, that's what the commercial versions are. Mysql Workbench is a free open source solution that probably does even more. http://dev.mysql.com/downloads/workbench/ Regardless what this person uses. Possible problems: windows 7 blocking it a lost, corrupted or deleted file. Possible is in safe mode. The permissions are wrong. Wrong path to php in php.ini file. Database was actually deleted. phpmyadmin needs to be reinstalled. Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/#findComment-1225207 Share on other sites More sharing options...
QuickOldCar Posted June 4, 2011 Share Posted June 4, 2011 I wanted to add, you can see if your database files exist..or copy them somewhere as a backup from this location. C:\wamp\bin\mysql\mysql5.5.8\data your mysql version may be different. Back it up and try reinstalling wamp. Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/#findComment-1225210 Share on other sites More sharing options...
Pikachu2000 Posted June 4, 2011 Share Posted June 4, 2011 You have it open to the internet? I'm guessing you were probably hacked. Quote Link to comment https://forums.phpfreaks.com/topic/238400-i-cant-access-my-database-in-phpmyadmin-help/#findComment-1225222 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.