Thinkphp and phpmyadmin are two different things. If you want to have a phpmyadmin folder in the root directory of the project, and the port number has not been changed when installing and configuring the php environment, enter localhost/phpmyadmin directly in the browser.
If you want to link the database in thinkphp, you need to write your database configuration information in the project configuration file of thinkphp?
You can go to the mountain platform to see. The content is very good.