Malware changed all file extension and name in mysql database - mysql

Malware changed all file extension and name in mysql database. I have changed them back to the normal but in phpMyAdmin, they are show showing corrupted when i click on them it shows error 1033 Incorrect information in file .
Can anyone give me suggestion how can i solve the issue, Thank you in advance.

Related

Is there a way to solve error of pentaho unable to open a pprt file?

I am attempting to open a .pprt file with Pentaho report designer but it keeps returning the error of unable to open the file as valid report definition. I also went far to extract the file locally (I use a Linux Ubuntu) then tried to open the different .XML files but is of no use if I can get my specific MySQL queries. I'd appreciate some help on how to attack this error.
Find the screenshot below

PhPmyadmin MySQL Error #1018 Xampp

I have Installed Xampp and configured MySQL and PhPmyadmin through it. BUt, when Itry creating a new User account It shows a MySQL error#1018 which says,
Error: 1018 SQLSTATE: HY000 (ER_CANT_READ_DIR)
Message: Can't read dir of '%s' (errno: %d - %s)
this Message takes me to SQL Query in the PHPmyadmin server which shows this,
SHOW PLUGINS SONAME LIKE '%_password_check%'
I am stuck with this. I have tried different things but In vain. I will appreciate help regarding this Issue. Thanks in advance.
If you installed XAMPP in the default folder C:\xampp go and manually create the folder C:\xampp\mysql\lib\plugin in Explorer. This should fix the user creation issue.
This error is showing that you can not read in this directory. Please check this on mysql site
Normally it happens when you do not have rights on the folder, easiest is that you should give full control to "Everyone" group. Just right click on folder and in security tab "edit" and select "Everyone group" and in the lower window give check on Full control.

Unable to connect to your database server using the provided settings

I am usign codeigniter and I have hosted my web site on free hosting and everything was fine until an error occurred. The error is
Unable to connect to your database server using the provided settings.
Filename: core/Loader.php
Line Number: 346
But if I refresh the page the error is gone, but sometimes comes again and I don't why.
I have checked the forum for other errors like this and I have found that first I need to debug to understand what the error is.
It shows
Connecting to database: database_name
Connected OK:file: /home/vol11_6/byethost7.com/database_name/htdocs/application/config/database.php Line: 81
Other users say that the error comes from php.ini or mysql.default_socket was pointing to file in a non-existent directory.
My question is how am I supposed to find this php.ini or the directory like /var/lib/mysql/mysql.sock
on the free hosting. I can't find none of them.
Sorry if something was unclear.
Thank you in advance.

Linux server phpmyadmin , I cannot login anymore configuration error 2002 . Config.inc empty?

I have installed phpMyAdmin on linux server, worked fine for a couple of weeks, but now suddenly I cannot login to phpMyAdmin anymore. I can connect from my website, but cannot login manually on the server.
I have googled and searched on this forum but alle the suggestions include editing the file /var/lib/phpmyadmin/config.inc.php
Strange thing is, this file is empty. Nothing in it. So I guess, that could be my problem, but then why is it now empty and not before? And is there a default I can restore or is this something generated upon installation?
The real question I am asking myself now is, am I hacked? If not, why would this file be empty?
EDIT: directly trying to connect via SSH gives an error too: Can`t connect to local mysql server throught socket '/var/run..'
EDIT2: I did a search for files named config.inc.php and found one in /etc/phpmyadmin, this one has a lot of settings so I guess I was looking into the wrong file.. Everything from Authentication Type is not active
Any help is appreciated!

#2002 Cannot log in to the MySQL server error

I cannot log in to my mySQL database server anymore.
I am currently using WAMP 2.2 on Windows 8.1 64 bits.
I tried reinstalling WAMP server but the problem still persists.
I have also edited the config.inc.php file and changed the host name from 'localhost' to '127.0.0.1'; however the problem still exists.
I found the problem, eventually. It had nothing to do with any of the configuration files though.
My ESET Smart Security antivirus updated silently and blocked the mysql application. I did not even get a notification for it!
I figured it out when I tried logging in to phpMyadmin after turning off my antivirus.
I had to allow communication for mysqld.exe in the antivirus settings.
Using the Wampmanager menus take a look at the mysql error log.
left click wampmanager -> MySQL -> MySQL log
If that does not show any [error] messages then also have a look at the 'Windows Event Viewer' in the 'Application' section for messages from MySQL.
The normal problem is a rogue 'my.ini' or 'my.cnf' file on your system. Search for these 2 files in the C;\windows folder, if you find any then delete them.
DO NOT DELETE THE my.ini FILE FREOM ANYWHERE IN THE C;\WAMP folder structure.
Recently I encountered a problem with MySQL, It was showing an error “Error : 1067 the process terminated unexpectedly” when I tried to start the service in services.msc
So I googled it but didn’t found the perfect solution. I will show how can you debug the issue. First look for file my.ini which can be found in “C:\wamp\bin\mysql\mysql5.6.17″ , open that file on look for “log-error”, this will show you the path where error log is stored. In my case it is, “c:/wamp/logs/mysql.log”.
Open the log file and look for last error you got, you should be today’s date when you tried to start the wampmysqld from services. At this stage, you will get error and understand what it say. In my case it is,
enter image description here
The folders for all databases are in “C:\wamp\bin\mysql\mysql5.6.17\data”. To fix I moved kmk folder to some other place. After this, wampmysqld in services.msc is getting started without any error.