[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:
- [Solved] Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path:
- composer Error while processing content unencoding: Unknown failure within decompression softwar
- [Solved] yii error: Setting unknown property: yii\console\Request: :cookieValidationKey
- php Error: mail() Failed to connect to mailserver at “localhost” port 25
- Error during session start; please check your PHP and/or webserver log file and configure your PHP
- [Solved] Type error: Argument 1 passed to Monolog\Utils::getClass() must be an instance of Monolog\object
- [Solved] PHPMailer Error: SMTP ERROR: Failed to connect to server: (0)
- PHP file download, download failed, nginx open() nginx / fastcgi_ temp/2/10/0000000102“ failed (13: Permission denied)
- [Solved] PHPMailer Failed to Send Email: SMTP Error: Could not connect to SMTP host.
- php_network_getaddresses: getaddrinfo failed (How to Fix)
- [Solved] PHP Error: Warning: file_get_contents(): Failed to enable crypto
- composer Failed to decode response: zlib_decode(): data error
- [Solved] Laravel Upload Files Verificate Error: The file failed to upload.
- [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 getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL
- How to Solve PHP Fatal error: Namespace declaration statement has to be the very first statement
- How to solve Magento 500 internal server errors
- [Solved] file_get_contents(): SSL operation failed with code 1
- [Solved] getObject: FAILED RequestCoreException: cURL resource: Resource id #78; cURL error: SSL certificate