Website created by the Zhimeng system

Source: Internet
Author: User
Purpose: to upgrade the dream system to the latest version and install the latest patch

Problem: You cannot import the SQL file exported from PHPMYADMIN to the MYSQL database. after installing the Zhimeng system, you cannot use existing websites locally.

Help: all the files on the website created using the Zhimeng system and the SQL format files (exported from space) exported from the MYSQL database using the PHPMYADMIN tool ). Install the Zhimeng system on your local computer (the website that comes with the Zhimeng system can be accessed normally ), but I don't know how to put the existing website files into the Zhimeng system (you can access the website locally/Just like accessing the website that comes with the Zhimeng system ), I do not know how to import the exported SQL database file to the local YSQL database. I 'd better add my Penguin to solve the problem: 275298873. please be patient.


Reply to discussion (solution)

1. replace the local project file directly with the space export file
2. the database in the space can be imported using the mysql tool.
3. modify the mysql connection information of the project configuration file

1. replace the local project file directly with the space export file
2. the database in the space can be imported using the mysql tool.
3. modify the mysql connection information of the project configuration file

1: You can access the website that comes with the pre-woven dream system. after you replace the existing website file, you will not be able to access the website.

2: The MYSQLI extension prompt is missing when you log on to the database using the MYSQL tool. However, you can use the MYSQL tool to link to the MYSQL database. if the database already exists, create a new database and import the SQL file.

3: Where the link information of the project configuration file has been modified, the first is the database address, changed from the original database server IP address to: localhost, the database name remains the same (because the name is used for the database created in MYSQL), and the user and password remain unchanged. you do not need to enter the password when creating the database in step 2.

I am using the default root account to log on to the database when installing the dream system. I found that there are already multiple databases in the database. are there several databases using the same account and password? How do I use the user and password of the database in the configuration file of an existing website project?

1. The existing website cannot be accessed after it is replaced. what is prompted? Indicates whether the database connection fails or what? It is better to post the prompt.
2. what extensions are missing? The second point is not very clear.
3. the Project configuration information corresponds to your local database connection information.

One user name and account can store multiple databases. for example, account root password 123456 contains Database 1, Database 2, database 3,
You only need to change the project configuration file to match your local database information.

1. The existing website cannot be accessed after it is replaced. what is prompted? Indicates whether the database connection fails or what? It is better to post the prompt.
2. what extensions are missing? The second point is not very clear.
3. the Project configuration information corresponds to your local database connection information.

One user name and account can store multiple databases. for example, account root password 123456 contains Database 1, Database 2, database 3,
You only need to change the project configuration file to match your local database information.

1: the prompt is that the replaced homepage file cannot be opened. The PHP homepage that comes with the dream weaving system can be opened.
2: After opening the page for you, it is the page for outputting the account and password of the connected Database. there is a prompt at the bottom of the page. it cannot be opened now, so there is no way to give it to you.
3: This is the modification.
The other two files
The first is the file when the dream system is installed:


The second is to replace the website file of Zhimeng with your website:

Then you cannot access the homepage, and the prompt in 1 appears.

My QQ is: 275298873. you can check it remotely if it is convenient. thank you very much!

My QQ is: 275298873. you can check it remotely if it is convenient. thank you very much!
Replace the local file. it is best to remove the files that are not first closed.

Also, if you are sure that the php environment is correctly installed, you can output it in index. php.
Echo phpinfo ();
?>

Comment out other code to see if there is output.


My QQ is: 275298873. you can check it remotely if it is convenient. thank you very much!
Replace the local file. it is best to remove the files that are not first closed.
After the weimeng system is installed, its website files are stored in the WebRoot folder. I delete all the files in this folder and then put my website files in it.

Why don't you delete the dream system?



My QQ is: 275298873. you can check it remotely if it is convenient. thank you very much!
Replace the local file. it is best to remove the files that are not first closed.
After the weimeng system is installed, its website files are stored in the WebRoot folder. I delete all the files in this folder and then put my website files in it.

Also, if you are sure that the php environment is correctly installed, you can output it in index. php.
Echo phpinfo ();
?>

Comment out other code to see if there is output.

The environment after the dream weaving system is installed is correct. you can access localhost/index. php to output the correct homepage of the website that comes with the dream, or enter the background. then I create a new php file with the following content:
Echo phpinfo ();
?>
After the access, the PHP version information can be correctly output.
However, when I delete the files in the WebRoot folder of Zhimeng and put them into my website files, the operations above will not work. All are the not found errors in the above.


Why don't you delete the dream system?

I also don't know if I have deleted the dream system, but the website files that were deleted and put into it cannot be accessed. or can I try to copy and replace my website files?

Here we have a file for the entire dream System. I deleted the WebRoot file. I don't know if I only want to put the website file:

1. copy the complete dedecms project running on your server to the local www
2. pack the server data and import it to the local mysql database.
3. modify the dedemcs database configuration information.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.