[error]
node
the command failed to start the project and reported an error: “unknown database ‘mydb'”
[other features]
at this time, view phpstudy and display “port occupied”.
[solution]
Start Run CMD, enter netstat - ano
, look at the first column, followed by the port, find 3306, and remember the corresponding PID
Then open the task manager to view -> Select column -> Tick PID (process identifier) -> determine
Find the PID process in the task manager, check what program occupies the port, and close it
If you restart MySQL again, you will not report the error that the port is occupied. ⑤ use postman to test whether the background project interface is normal
Read More:
- PHP error in Windows: class’ mysqli ‘not found
- PHP file download, download failed, nginx open() nginx / fastcgi_ temp/2/10/0000000102“ failed (13: Permission denied)
- PHP large file upload error 413: request entity too large [How to Solve]
- [Solved] PhpSpreadsheet Error: Invalid cell coordinate [1
- [Solved] PHP Fatal error: Uncaught Error: Class ‘Redis‘ not found in
- Workman Run Error: stream_socket_server() has been disabled for security reasons
- [Solved] WordPress Upgrade PHP 5.6 to 7.x Fatal error: Uncaught Error: Call to undefined function mysql_connect()
- How to Solve opcache error: zend_mm_heap corrupted
- [Solved] PHP Fatal error: Uncaught Elasticsearch\Common\Exceptions\NoNodesAvailableException: No alive nodes
- How to solve Magento 500 internal server errors
- [Solved] Artisan error: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
- composer Error: The requested PHP extension ext-bcmath * is missing from your system. Install or enable
- [Solved] Fatal error: Uncaught Error: Class ‘Imagick‘ not found
- Syntax error: typeerror: about installing sass in vue3 this.getOptions is not a function
- [Solved] PHPMailer Error: SMTP ERROR: Failed to connect to server: (0)
- [PHP] Solve the 500 error problem-nginx and fpm have no error logs
- Error while injecting dependencies into App\Controller\IndexController: No entry or class found for
- [Solved] Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path:
- Configure: error: Cannot find libz error appears when brew installs php70
- [Solved] Fatal error: Class ‘think\Container‘ not found & [InvalidArgumentException] Could not find package