Jump to content

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

How did you install your database? With datafiles or with mysql import/export (dump or trasfer)?

With this error seems you have install your databases with copy and paste MySQL directory, that is the wrong way, specially if you have innodb tables like you. 

To recover:

- create dumps from the original MySQL server

- stop mysql-server on your broken server (service mysql-server stop)

- remove you entire MySQL data directory (rm -rf /var/db/mysql)

- start mysql-server on your broken server (service mysql-server start)

- restore your game databases from dumps.

Link to comment
https://metin2.dev/topic/12598-mysql-crashing/#findComment-72377
Share on other sites

On 11/7/2016 at 10:39 AM, iltizio said:

How did you install your database? With datafiles or with mysql import/export (dump or trasfer)?

With this error seems you have install your databases with copy and paste MySQL directory, that is the wrong way, specially if you have innodb tables like you. 

To recover:

- create dumps from the original MySQL server

- stop mysql-server on your broken server (service mysql-server stop)

- remove you entire MySQL data directory (rm -rf /var/db/mysql)

- start mysql-server on your broken server (service mysql-server start)

- restore your game databases from dumps.

Via package if  i remember good

I tried to put password with this method but i still cant connect via navicat

Spoiler

 

/usr/local/etc/rc.d/mysql-server stop

mysqld_safe --skip-grant-tables &

mysql -u root

use mysql

update user set password=PASSWORD('desiredpassword') where user='root';

flush privileges;

quit

service mysql-server restart

 

 

 

Can you help me to can connect via navicat?

also why had i this error?
 

Link to comment
https://metin2.dev/topic/12598-mysql-crashing/#findComment-72436
Share on other sites

If you have mysql 5.7

CREATE USER 'root'@'%' IDENTIFIED BY 'yourpassword';
GRANT ALL ON *.* TO 'root'@'%' WITH GRANT OPTION;

flush privileges;

 

If you have mysql <5.7

GRANT ALL PRIVILEGES ON *.* TO root@"%"
IDENTIFIED BY 'yourpassword'
WITH GRANT OPTION;

flush privileges;

Link to comment
https://metin2.dev/topic/12598-mysql-crashing/#findComment-72446
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.