Page 1 of 1

Can’t select database after reinstall xampp

PostPosted: 27. November 2016 14:09
by mikymedia
hi .. :wink:
my name is mike im kind of new at this ..so i appreciate any help.
i started to work on a new site [localhost]then after a month i had a problem with the xampp control panel so i reinstall it .
i did a copy of the htdocs folder and the wordpress site folder.. so after the installation i copy them back to the new xampp folder
the thing is i get this "Can’t select database" and i dont know how to conect them back again !
thanks a lot

Re: Can’t select database after reinstall xampp

PostPosted: 27. November 2016 19:59
by JJ_Tagy
Hope you made a backup if the entire xampp folder. Just note that the control panel is only an "add-on" component. You don't need to reinstall the full package just for the control panel.

Re: Can’t select database after reinstall xampp

PostPosted: 27. November 2016 22:21
by Nobbie
mikymedia wrote:i did a copy of the htdocs folder and the wordpress site folder..


Thats not sufficient, did you backup the most important data folder of MySQL?

Re: Can’t select database after reinstall xampp

PostPosted: 30. November 2016 15:00
by mikymedia
HI...i didnt know its going to effect this folders so no i didnt !
but ..i found older backup of the entire xampp folder so i copy it instead of the new one
and thank god it works great ..
i just have a few extra hours to rework on the site to catch up .
another lesson in life (:
what backups should i do instead of copy all the xampp folder ?
i appreciate your help a lot !!
thanks

Re: Can’t select database after reinstall xampp

PostPosted: 30. November 2016 15:06
by JJ_Tagy
mikymedia wrote:what backups should i do instead of copy all the xampp folder ?

None. The XAMPP folder and all the subfolders should contain everything unless you deliberately created something outside that folder.

Re: Can’t select database after reinstall xampp

PostPosted: 30. November 2016 15:33
by mikymedia
OK great ..
thanks a lot (: