简体   繁体   中英

Xampp server MySQL error ? Status of MySQL database - DEACTIVATED

I Installed Latest XAMPP server when I start its running in local host its running ,

and also i Installed Drupal and MySQL 6.1 ,.

after installing Drupal i can access to localhost/drupal and here Entire Database is saved to MySQL 6.1,.

But in XAMPP at the part of MySQL here its I am Getting Error like

6:33:47 PM  [mysql]     Attempting to start MySQL app...
6:33:47 PM  [mysql]     Status change detected: running
6:33:48 PM  [mysql]     Status change detected: stopped
6:33:48 PM  [mysql]     Error: MySQL shutdown unexpectedly.
6:33:48 PM  [mysql]     This may be due to a blocked port, missing dependencies, 
6:33:48 PM  [mysql]     improper privileges, a crash, or a shutdown by another method.
6:33:48 PM  [mysql]     Press the Logs button to view error logs and check
6:33:48 PM  [mysql]     the Windows Event Viewer for more clues
6:33:48 PM  [mysql]     If you need more help, copy and post this
6:33:48 PM  [mysql]     entire log window on the forums

and at status I am Getting this status,.

在此处输入图片说明

how to run this in xampp

尝试删除C:\\ xampp \\ mysql \\ data目录中的ibdata1文件。确保首先退出xampp,然后重新启动它。

if you install a mysql server separate from xampp, which it sounds like you did, then you'll have issues using xampp to manage it. basically, xampp is trying to start the mysql that came bundled with it, but can't because you already have a service running on that port.

this may help you be able to manage your installation from the phpmyadmin panel.

Using XAMPP- phpmyadmin while Having Separate MYSQL installation

personally, i use xampp for my application server, and use mysql workbench for managing the database

http://dev.mysql.com/downloads/tools/workbench/

edit: also, even though xampp is telling you mysql is stopped, it probably isn't. if you're in windows, check the task manager's services tab and see if mysql is running there. it probably is, and you just need to reconfigure the admin panel to manage that instance instead of using the one that came with xampp

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM