High-score solution, Phpstudy 2013 database configuration related issues

Source: Internet
Author: User
High-score solution, Phpstudy 2013 Database configuration problems
I got someone else's project, and now I want to get familiar with it, but I personally do the front-end (the kind that started learning), PHP learned a day yesterday.
Now want to configure an environment locally, so that I can modify the front-end things, and then I looked up on the internet using Phpstudy to do, put all the files in the WWW folder, through the local localhost access. But I have not configured the database (I guess because of this problem), so can access, but a lot of data interaction is not possible (such as the application account).
So what I want to ask is how do I do it now? is to check his PHP first, and then according to what he wrote, building a database? If so, should I go through the global search for this sentence mysql_connect (Servername,username,password);

By the way, ask this table is phpstudy default, what is the use of it?
------to solve the idea----------------------
Phpstudy just helps you integrate the PHP operating environment.

You don't have the data, maybe.
The address of the database, account number, password account to not all the original project is not connected to the database, nature will not be able to read the data
------to solve the idea----------------------
You have to get the database structure for it, and import or create the corresponding database, and then fill in the project with the configuration information of the connection database.

Your databases are from MySQL, so you don't have to worry about them.
------to solve the idea----------------------
If you have a test database you can connect directly, you can also directly connected to the use.
If not, you can only set up a database server in this machine, and establish the corresponding database.
  • 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.