mysql server is not starting xampp 1

mysql server is not starting xampp

sudo killall mysqld

then

sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start

Here is what the above code is Doing:
1. We’re importing the mysql.connector library.
2. We’re creating a connection to the database.
3. We’re creating a cursor object.
4. We’re executing a query.
5. We’re fetching the results of the query.
6. We’re printing the results.
7. We’re closing the connection.

Similar Posts