Through the configuration table, you can also change a database name, but if you change the name, you need to modify it in the configuration file.
Why the program recognizes this database as you mentioned is because in the configuration file, it is specified to use this database, so it can only search the tables under this database
Because your myblog database requires the student table, it is only valid under this table; find the connection between the two tables. For example, if the data in different fields under the two tables are the same, you can establish a connection between the two fields. .
replyI understand. What I am asking is how this project is related to this database. There are so many databases. Why did the teacher randomly find a myblog database to use in the administrator? How are the project and the database related?
Through the configuration table, you can also change a database name, but if you change the name, you need to modify it in the configuration file.
Why the program recognizes this database as you mentioned is because in the configuration file, it is specified to use this database, so it can only search the tables under this database
Because your myblog database requires the student table, it is only valid under this table; find the connection between the two tables. For example, if the data in different fields under the two tables are the same, you can establish a connection between the two fields. .