How to convert my database folder to sql - mysql

I have created project about 'local search' about 2 years ago which is incompleted. The project is in php and mysql. At that time i was installed WAMP. Then several times I changed my pc's Operating system.
Now I have to start working on this project again but I have installed XAMP. I didn't export database 'local_search_data' at that time. But i found folder 'WAMP' is there and I found database 'local_search_data' but in folder.
My question is now How I convert this 'local_search_data' folder to database(sql) format so that I can import it from mysql.

Assuming the MYSQLServer from the old WAMPServer will run in your new OS you can do this.
First ensure XAMPP is stopped, and make sure its Apache and MYSQL services are stopped.
Launch \wamp\wampmanager.exe
Using the wampmanager menus do
wampmanager -> MYSQL -> Service -> Install Service
This should install a service called wampmysqld or wampmysqld64 if you were running a 64bit WAMPServer, and the old MYSQL version will now be startable.
wampmanager -> MYSQL -> Service -> Start Service
You can now do a backup of your old database(s) using the command line tools like mysql.exe or mysqldump.exe
If you wanted to get the old WAMPServer running you could also do
wampmanager -> Apache -> Service -> Install Service
wampmanager -> Apache -> Service -> Start Service
And you would have your old WAMPServer up and running exactly the way it was.
Possible issues:
If you do not have all the necessary MSVC runtime libraries installed restarting Apache may not work. But these can easily be download and installed. See POINT 20 on the troubleshooting guide on the WAMPServer forum There are links on that page that will help you download them all for 32 and 64bit systems.
Remember if you run 64bit Windows, you need to download the 32bit AND 64bit versions of the MSVC runtimes
You might have to download the MSVC 2008 32bit runtime to get wampmanager to run.

Here, I just found some part of solution. I just started XAMPP and copy 'local_search_data' folder into xampp\mysql\data folder. Then I got table structures. I know it showing problem of engin. But now I got at least table sstructures. Thank You.

Related

mysql installer did not find packages in the current bundle suitable for installation windows

I am trying to install MySQL 8.0.23 version from the download page. I ran the .msi file several times and every time, I got the error "mysql installer did not find packages in the current bundle suitable for installation windows". I tried to find a solution online for more than an hour and I could not get the resolution to problem. I even ran it through CMD using admin privileges and still no use. I am installing on a laptop with the following configuration.
Windows 10, 64Bit with 16GB RAM, i7 Hexacore, 1TB SSD.
Can someone please help?
I suspect there is currently a server issue or something on Oracle/MySQL's end, I have tried the 8.0.22 and 5.7.33 Web installers and neither of them are able to find the list of packages to install.
One solution is to download the larger offline installer.
First you must uninstall the MySQL Web Installer, this can be done by opening Apps & Features, finding MySQL Installer - Community and clicking Uninstall.
Then from the MySQL Downloads page, download the larger 400MB MSI installer, once launched you should see a list of Available Products to choose from
Uninstalling the "MySQL Installer - Community" and redownloading and installing the full installer ~422MB from Downloads page worked for me.
After wasting so much time, I find the solution to install MySQL 8 on Windows x64 (64-bit) system.
Run the msi installer
Next (Even it wouldn't work)
Go to below path instead
C:\ProgramData\MySQL\MySQL Installer for Windows\Product Cache
Right click -> Install
mysql-8.0.23-winx64.msi
mysql-connector-c++-8.0.23-win32.msi
mysql-connector-c++-8.0.23-winx64.msi
mysql-connector-java-gpl-8.0.23.msi
mysql-connector-net-8.0.23.msi
mysql-connector-odbc-8.0.23-win32.msi
mysql-connector-odbc-8.0.23-winx64.msi
mysql-connector-python-8.0.23-windows-x86-32bit.msi
mysql-connector-python-8.0.23-windows-x86-64bit.msi
mysql-documents-8.0.23.msi
mysql-examples-8.0.23.msi
mysql-router-8.0.23-winx64.msi
mysql-shell-8.0.23-windows-x86-64bit.msi
mysql-workbench-community-8.0.23-winx64.msi
If nothhing else works, click on Looking for Previous GA versions? and downloaded the one with 500 ~ MB and that did the job for me.
I had the same issues and tried the solutions above which none worked for me.
I did the following and it worked:
In Add/Remove programs from the control panel uninstall all MySQL entries.
Delete all MySQL folders from C:\Program Files\MySQL
Make a restart to your computer
Reinstall using the large MSI installer (more than 400MB)
I tried a lot of steps. Uninstalling and installing it again for current version 8.0.23.
Following steps fixed the below error for me:
No Packages error MySQL did not find packages in the current bundle
suitable for Installation No Compatible servers were found.
Step 1: At first, uninstall and remove MySQL. That includes, uninstalling completely and removing all the remaining MySQL folders from the system.
Step2: Restart the system. Go to the official MySQL website Downloads section. On reaching, install the 2nd MySQL version (the larger one) as shown in the tutorial.
mysql-installer-community-8.0.23.0.msi
After downloading, under Setup Type, you need to choose Developer Default and keep all other steps similar.
Same problem here.
I try on Windows 10 Home edition.
I also try with version 8.0.22: same error.
EDIT 1 18/01/21 : also with large MSI installer (more than 400MB)
EDIT 2 19/01/21 : The problem has fixed. This was probably a problem on the mysql download servers.
The solution in my case was uninstalling MySql Workbench and the installer and then running the installer msi from scratch!
Delete the (mysql-installer-web-community-8.0.23.0.msi) one and download the (mysql-installer-community-8.0.23.0.msi) one. If still not working, right click uninstall, and then right click install again. Worked for me.
I used the bigger download package, mysql-installer-community-8.0.30.0 with 450M. Then I see below image along the way, clicking "Add", then picked the workbench, then green button appeared to move to the right pane, then "execute". Workbench is then installed

What is the difference between installing Xampp and MySql?

So I discovered that when you install Xampp you get mysql and phpmyadmin but if I download them individually what's the difference?
When you install xampp you get:
(X) -> Cross-Platform which means it works equally well on Linux, Mac and Windows.
(A) -> Apache
(M) -> MariaDB
(P) -> PHP
(P) -> Perl
and when you install only mySql you only get the ->(M) that is the open-source relational database management system.
Honestly depends on what you need, if you only need the database install Mysql but if you need to serve web pages, provides support for creating and manipulating databases, setup a local wordPress site... install Xampp
The difference is that with xampp you can run apache, filezilla, tomcat and mercury, that are so helpful in some application

"No compatible server found" error came while installing mysql in windows 7

when i click on reconfigure it gives following screen
I'm trying to install mysql in windows 7 and I have downloaded mysql installer from https://dev.mysql.com/downloads/installer/
I started installing it but after some time it gives the following error:
no compatible server found.
I searched a lot for this, however I'm not able to install mysql on my system. Please give me some suggestions.
Is there any other software that has dependency to install mysql?
when i click on add it gives following screen
download and install Microsoft Visual C++ 2015 Redistributable. it worked for me
I too had the same issue. What i did was,
1- uninstall the msi community installer.
2- Install visual c++ 2019 Redistributer package (https://support.microsoft.com/en-in/help/2977003/the-latest-supported-visual-c-downloads) ([])
3- Now install MySql Workbench from (https://dev.mysql.com/downloads/workbench/)
NOTE: Download the Windows (x86, 64-bit), MSI Installer 8.0.20 35.6M
Download.
4- Now install the msi community installer that you've uninstalled in step 1
(Link:https://dev.mysql.com/downloads/windows/installer/8.0.html)
NOTE: Windows (x86, 32-bit), MSI Installer 8.0.20 420.6M
Download [For both 64 & 32 bit ] - (mysql-installer-community-8.0.20.0.msi)
Now the workbench will be added. Add the server from the installer and now we are good to go...
Thanks for the opportunity and knowledge
This error may be resolved by installing appropriate visual C++ version. for 5.7 its VC++ 2013 and for 8.0 its VC++ 2015.
After VC++ install rerun the installation and reinstall just server seperate. Configure it.
Then install any other tools like client etc,
(server installs with command line (Which was enough for my needs)
Steps:
Install MySQL Server from "MySQL Installer - Community" (already installed in your system.
While installing you would be asked to setup a server, so, just leave everything as it is and just put up a password and click next.
No after installation again you will see "MySQL Installer - Community". Then click "reconfigure" right in front of (see image in link below).
Then you will see the server in options. Just click it and enter password. (NOTE: let the username be "root", don't change it).
After doing all this MySQL will be installed.
https://i.stack.imgur.com/0O3YS.png

How install and configure mysql 5.6.16 in windows 7

I downloaded the zip file for Mysql 5.6.16, but there is no .exe file in the folder.
All the instructions online are saying install through .msi file.
How can i install and configure mysql 5.6.16 in windows 7 ??
Thanx in advance
As described in How to install MySQL on Windows 7?:
The installer installs the following software in your computer
a.) MySQL Server
b.) MySQL Connectors
c.) MySQL Workbench and sample
models
d.) MySQL for Excel
e.) MySQL Notifier
f.) MySQL for Visual
Studio
g.) Sample Databases
h.) Documentation
Download the installer here : http://dev.mysql.com/downloads/windows/installer/
There are two options available: (as on 31 Jan 2014 , the latest version is 5.6.16)
(i) mysql-installer-web-community-5.6.16.0.msi – 1.5MB
(ii) mysql-installer-community-5.6.16.0.msi – 250.8MB
I personally prefer the 2nd option. This helps me to keep the .msi file as backup in my computer. I can install MySQL whenever I need to
even if I am offline.
After downloading the 250 MB file, double click it to start the installation process. Now it is simple as installing any software on
windows 7.
Once you are done with the installation download the official document
Direct link for A4 size pdf –
http://downloads.mysql.com/docs/refman-5.6-en.a4.pdf
Now click the “MySQL Notifier” in programs menu. The Notifier icon appears in the task bar (right bottom). Right click on the small red
icon and select “start” the server option.
Click the “MySQL Workbench” in the programs menu. Start creating databases/schemas/tables/SQL scripts.
You can install mysql server on windows, using mysql web community installer. The web community installer is 32 bit, but you can use it install mysql on both 32 bit and 64 bit windows machines.
For step by step guide for installing mysql on windows machine, check this page How to install MySQL server on windows?
Install Windows (x86, 32-bit), MSI Installer) from this link , even if your are using 64 bit operating system. MySQL Installer is 32 bit, but will install both 32 bit and 64 bit binaries.
Simply follow the steps and make sure to select the dependency for Visual Studio. Installer will download everything for you.
Please Download Xampp Windows installer & install it on Windows. Hope this would work for you - www.youtube.com/watch?v=gwSCUHIzMsk .
Thanks
vJ

XAMPP phpmyadmin mysql user manual?

This is actually 2 questions...
Background:
After using the command line in MySQL for my database introductory classes (very enjoyable), I had been required to use a DBA tool and downloaded XAMPP as identified below.
The transition to a GUI would be ok if I understood the interface for creating database tables...
Q1.I have searched the net and Amazon trying to locate a user manual for XAMPP... does anyone have an actual manual? At this point it is trial and error.
Q2. As a student I am curious about the use of these tools in the real world... why not use the command line provided in MySQL?
XAMPP for Windows 1.7.3, 2009/12/23
Version Size Content
XAMPP Windows 1.7.3
[Basic package] Apache 2.2.14 (IPv6 enabled), MySQL 5.1.41 + PBXT engine, PHP 5.3.1, OpenSSL 0.9.8l, phpMyAdmin 3.2.4, XAMPP Control Panel 2.5.8, XAMPP CLI Bundle 1.6, Webalizer 2.21-02, Mercury Mail Transport System v4.72, msmtp 1.4.19, FileZilla FTP Server 0.9.33, SQLite 2.8.17, SQLite 3.6.20, ADOdb 5.10, eAccelerator 0.9.6-rc1, Xdebug 2.0.6-dev, Ming 0.4.3
For Windows 2000, XP, Vista, 7. See README
EXE
51 MB Self-extracting RAR archive
MD5 checksum: 3635a1c0baf15e8a019009e6c1225389
Thank You for your interest!
Xampp is just a collection of other tools... the sql tool, phpMyAdmin, has it's own manual.
http://www.phpmyadmin.net/home_page/docs.php
As for why to use xampp, it's meant for simplicity. If you were going to use ALL of the tools in the package (web server, database, php interpreter, etc, etc) it would take a considerable amount of time and effort to install and configure. xampp does everything for you. I don't use xampp, myself.