admin管理员组文章数量:1327483
First time here, facing a bigtime wordpress situation. My Ubuntu installation crashed beyond repair during upgrading version. Managed only to copy the wordpress files, installed in /opt/lampp/htdocs, cause I'm developing in localjost. There was no salvage of mySQL directory in Ubuntu installation, as it was beyond my skills in cli-linux, so it is gone for good...
What have tried so far, is creating a new database with same name as the old one, and copied wp-config.php and all files to the folder where reinstalled wordpress. I get "Error Establishing a Database Connection".
Is there anything to be done, e.g recreating database with same name in mySQL to link wp-config or wp-content, and link Wordpress file folder to new database? Furthermore, if it is possible to link wp files to a new database,how to access site with all passwords lost?
Please inform me, before starting over the development of the site.
First time here, facing a bigtime wordpress situation. My Ubuntu installation crashed beyond repair during upgrading version. Managed only to copy the wordpress files, installed in /opt/lampp/htdocs, cause I'm developing in localjost. There was no salvage of mySQL directory in Ubuntu installation, as it was beyond my skills in cli-linux, so it is gone for good...
What have tried so far, is creating a new database with same name as the old one, and copied wp-config.php and all files to the folder where reinstalled wordpress. I get "Error Establishing a Database Connection".
Is there anything to be done, e.g recreating database with same name in mySQL to link wp-config or wp-content, and link Wordpress file folder to new database? Furthermore, if it is possible to link wp files to a new database,how to access site with all passwords lost?
Please inform me, before starting over the development of the site.
Share Improve this question asked Aug 6, 2020 at 18:54 CodeBuggingCodeBugging 101 3 |1 Answer
Reset to default 0If you have no database backups then you're going to have to start from scratch. The database cannot be recreated from the uploads folder and plugin/theme files.
版权声明:本文标题:wp config - How to re-connect WP files in lampphtdocs to new SQL database to recover site under development 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742206514a2432915.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
wp-config.php
after backing it up and run the 5 minute install, then you can create a new user and start recreating the posts and pages – Tom J Nowell ♦ Commented Aug 6, 2020 at 19:52