还原精灵还原了mysql怎么办_MySQL
bitsCN.com
还原精灵还原了mysql怎么办
最近在学校机房上实训课,所以要频繁往来于机房。而机房电脑上安装的还原精灵则每天把我的mysql还原了。真是头痛不已啊。
幸好还原精灵只还原注册表文件,并不还原硬盘。所以,我们还是有希望的。
一.备份注册表
没备份注册表的请卸载了重装再安装一次吧。目前我也没有解决的办法。。。
备份过程如下:
原理:mysql再在注册表里的user 和local_machine留有痕迹,所以我们要对其备份。
1.运行 regedit进入注册表
2.导出local machine-》software-》mysql的注册表
3.导出user-》software-》mysql的注册表
注意保存
二.还原注册表
把备份好的注册表双击导入就可以了。
三.安装mysql的服务
1. 进入mysql/bin文件夹(比如该文件夹在E:/Program Files/MySQL/MySQL Server 5.5/bin
则 -》e: (进入e盘)
-》cd E:/Program Files/MySQL/MySQL Server 5.5/bin (进入该目录))
2.-》mysqld -install (安装该服务)
3.-》net start mysql (此时发生错误,可按照错误搜索,网上有很多解决方案)
但是你应该可以这么解决
找到安装目录下的mysql,加入如下内容,
# set basedir to your installation path 设置mysql的安装目录
basedir=E:/Program Files/MySQL/MySQL Server 5.5
# set datadir to the location of your data directory 设置数据库目录 默认在安装目录下的data文件夹
datadir=E:/Program Files/MySQL/MySQL Server 5.5/data
[WinMySQLAdmin]
Server=G:/mysql/bin/mysqld-nt.exe
4.-》net start mysql 服务终于启动了 。
bitsCN.com

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











The top ten cryptocurrency exchanges in the world in 2025 include Binance, OKX, Gate.io, Coinbase, Kraken, Huobi, Bitfinex, KuCoin, Bittrex and Poloniex, all of which are known for their high trading volume and security.

In MySQL, the function of foreign keys is to establish the relationship between tables and ensure the consistency and integrity of the data. Foreign keys maintain the effectiveness of data through reference integrity checks and cascading operations. Pay attention to performance optimization and avoid common errors when using them.

The main difference between MySQL and MariaDB is performance, functionality and license: 1. MySQL is developed by Oracle, and MariaDB is its fork. 2. MariaDB may perform better in high load environments. 3.MariaDB provides more storage engines and functions. 4.MySQL adopts a dual license, and MariaDB is completely open source. The existing infrastructure, performance requirements, functional requirements and license costs should be taken into account when choosing.

SQL is a standard language for managing relational databases, while MySQL is a database management system that uses SQL. SQL defines ways to interact with a database, including CRUD operations, while MySQL implements the SQL standard and provides additional features such as stored procedures and triggers.

To safely download the Binance APP, you need to go through the official channels: 1. Visit the Binance official website, 2. Find and click the APP download portal, 3. Choose to scan the QR code, app store, or directly download the APK file to download to ensure that the link and developer information are authentic, and enable two-factor verification to protect the security of the account.

MySQL and phpMyAdmin can be effectively managed through the following steps: 1. Create and delete database: Just click in phpMyAdmin to complete. 2. Manage tables: You can create tables, modify structures, and add indexes. 3. Data operation: Supports inserting, updating, deleting data and executing SQL queries. 4. Import and export data: Supports SQL, CSV, XML and other formats. 5. Optimization and monitoring: Use the OPTIMIZETABLE command to optimize tables and use query analyzers and monitoring tools to solve performance problems.

With the popularization and development of digital currency, more and more people are beginning to pay attention to and use digital currency apps. These applications provide users with a convenient way to manage and trade digital assets. So, what kind of software is a digital currency app? Let us have an in-depth understanding and take stock of the top ten digital currency apps in the world.

MySQL is suitable for rapid development and small and medium-sized applications, while Oracle is suitable for large enterprises and high availability needs. 1) MySQL is open source and easy to use, suitable for web applications and small and medium-sized enterprises. 2) Oracle is powerful and suitable for large enterprises and government agencies. 3) MySQL supports a variety of storage engines, and Oracle provides rich enterprise-level functions.
