I am trying to upload a backup of the MySQL database exported file to the Cpanel public_html folder. upon upload I am getting the following error:
The file you uploaded, MySQL_file_name.zip, contains a virus so the upload was canceled: antispamcloud.score.medium.abusedredirector14.UNOFFICIAL FOUND
I scanned the file with an antivirus online and on my computer but it didn't find any virus on it.
Regards,
have you tried adding .sql as file extension?
You can contact your server provider. permissions may be turned off.
Your .zip file contains, most likely, a single .sql file. Try extracting the .sql file from the .zip file and then upload that to phpmyadmin. If it goes through, you're all set.
If your hosting provider's phpmyadmin also rejects the extracted .sql file there are a couple of possibilities. (It's phpmyadmin that's looking for viruses.)
Some cybercreep successfully attacked the WordPress site you backed up and put some nasty malware in one of your tables. Your hosting provider's phpmyadmin detected it when you uploaded your backup. (That's good, if frustrating.)
Maybe you can scan the WordPress site you backed up in the first place and find the nasty stuff. Sucuri's a plugin for that. Then you'll have to recreate the database backup.
It's a false-positive virus detection. Ask your hosting provider for help.
Related
Recently, my Xubuntu distro crashed. I wasn't trying to retrieve it. Rather get all the information that are required. I was trying to find database folders I ended up with getting some files whose extensions are frm ibd and opt in the following location : /opt/lampp/var/myqsl/database_name.
With a quick search, I have came up with "solution" (who knows if that actually works). That is, I have to copy the database folder and paste it to the exact same location (In another system, that's what I am planning). But I didn't see a solution like that in SO so, I am highly in doubt. And by installing a new distro, I won't have access to those files anymore.
FYI, I don't have access to anything rather than just files that exist in Xubuntu.
I used xampp sometime ago to run mysql server. I forgot to save a copy of my database. Now my hard drive has crashed and I can only use it as external drive. Using it as an external hard drive I can access the xampp installation folder but I can't seem to find copies of mysql databases.
So this is what i tried:
But I found my database names in C:\xampp\mysql\data\voting
directory, where voting is a my database name. Now, in the voting
folder, I can find all my table names but they end in some wierd
extension (.frm or .ibd) that I cannot import to a new xampp that
I have installed. For instance there is a table in the voting
database called candidate .
My problems is that is there a way I can retrieve my database from the xampp installation folder?
If NOT, How can I get mysql database using xampp(Without sql,csv or json files)
NOTICE: The xampp directory is an old one and I cannot run it because it is on a hard drive that is slightly crashed and can be access externally to a computer.
After posting this for 3 days and getting no answer, i toiled and toiled until I got an answer.
What I did was I copied the data folder in C:\xampp\mysql directory where I installed xampp from my old xampp installation folder on my old hard drive.
I pasted the old data folder I copied into C:\xampp\mysql directory of my new hard drive.
NOTICE: there is an already existing data folder there, so I backed up before doing any changes.
Finally, I opened http://localhost/phpmyadmin/ in my browser and I can now see all my old MYSQL databases.
I have been working on a web application using ExtJS with a SQL Database hosted on phpMyAdmin using MAMP. About 2 weeks ago, I had to dump my old HD because of bad sectors and I got an SSD as a replacement. After installing my applications again (IDE's, Document Editing Softwares, MAMP, etc), I had to reinitialize my databases in phpMyAdmin.
Luckily, I had one of them online in production so I just exported the SQL from the server and I had a local copy again. However, there's this one other website that I do not have a backup to the SQL file of -- and I need to get that SQL file because I can't create it from memory (I think it had 30+ tables already).
I know I can plug in my old hard drive, boot from there, open MAMP, open phpMyAdmin, then export my database. However, that's too much work and I am not sure if that's a good idea.
Is there a way to extract the SQL file of a phpMyAdmin table by using the file directory/structure alone? I think MAMP is supposed to store the data somewhere so that phpMyAdmin knows where to get its SQL tables.
Update
I found my "database" under /Applications/MAMP/db/mysql/ProjectName/ but they're .frm and I'm clueless on how to open this.
Take a look at this answer: Restore the mysql database from .frm files
You'll need a couple more files other than the .frm, but you can solve it with the files alone, no need to plug in your old drive again.
I have to import a 180Mb table on a shared (which means trouble I know) host and I'm getting the max_questions error. The limit is 75000 and they are not willing to higher the limit for even an hour. The number of queries as about 2000000.
I have been using bigdump to upload the gz file, but the limit is killing me.
Is there a way to split the table and upload it bit by bit or merge it somehow? I have been searching online, but solutions are mostly for people who can access the database settings.
I am assuming that you have phpmyadmin installed in your website directory,
other wise download latest phpmyadmin version from official website.
and unzip it in your website directory
If that's the case then perform below steps.
Access your website directory via sftp or ftp.
If you can not access your website directory via sftp or ftp then you can setup cron jobs for fetching files.
Find the config.inc.php file located in the phpmyadmin directory. In my case it is located here:
\public_html\phpmyadmin3.2.0.1\config.inc.php
Find the line with $cfg[‘UploadDir’] on it and update it to:
$cfg['UploadDir'] = 'upload';
Create a directory called ‘upload’ within the phpmyadmin directory.
**\public_html\phpmyadmin3.2.0.1\upload**
Then place the large sql file that you are trying to import into the new upload directory.
Now when you go onto the db import page within phpmyadmin console
you will notice a drop down present that wasn’t there before
it contains all of the sql files in the upload directory that you have just created.
You can now select this and begin the import.
Reference : http://daipratt.co.uk/importing-large-files-into-mysql-with-phpmyadmin/comment-page-4/
I used BDE before and deployed it with my apps and databases, and everything was very easy to setup. Now, I have Delphi XE7, FireDAC components and a MySQL database. Since I have WAMP, MySQL works for me and my database is located withing my local server. I would like to use my app on another computer, which has no servers running. Is it possible to do? I tried it today and all got is a few more gray hairs. I tried to do things listed here: http://docwiki.embarcadero.com/RADStudio/XE8/en/Connect_to_MySQL_Server_(FireDAC)
I have my .exe file. I have 'libmysqld.dll' in the same folder. I have 'data' folder which has another folder ('ccvs'), and in it I have .frm and .idb files (MySQL database with InnoDB storage engine).
I even tried with a 'my.ini' file. In the end, I installed MySQL server and administrator (I think it was the name of the application). I copied my database to 'c:\programdata\mysql...\data' and I could finally browse it, but I could not access the database. Even though I could visually see it, program told me it does not exist.
I tried this as well: www.da-soft.com/forums/anydac-general-english/howto-configure-and-setup-a-mysql-embedded-server.html
Downloaded the sample app, but those components do not exist anymore and I cannot load the project successfully.
Also this looked great, but my components don't have those options... https://www.devart.com/mydac/docs/loggingembeddedserver.htm
I would like to avoid installing MySQL and embed the database if possible.