mysql upgraden ?

03/10/2016 15:54 °Ace°#1
Guten Tag Epvp,

ich habe eine neue Lua in meinem Server eingefügt, jedoch kommt beim starten folgendes raus:

[Only registered and activated users can see links. Click Here To Register...]

und in Navicat:

[Only registered and activated users can see links. Click Here To Register...]

Wie upgrade ich mein Mysql mit der selben DB Files?

Sobald in root "mysql_upgrade" eingebe, kommt Folgendes:

[Only registered and activated users can see links. Click Here To Register...]

Die Fehlermeldung kommt, wenn ich die petFunctions.lua benutze.
03/10/2016 17:09 .Shōgun#2
try

mysql_upgrade -u root -p
03/10/2016 17:21 °Ace°#3
Quote:
Originally Posted by .Shōgun View Post
try

mysql_upgrade -u root -p
PHP Code:
root@dqv:~ # mysql_upgrade -u root -p
Enter password:
Looking for 'mysql' as: mysql
Looking 
for 'mysqlcheck' as: mysqlcheck
FATAL ERROR
Upgrade failed
root
@dqv:~ 
03/10/2016 17:30 gerald500#4
Quote:
Originally Posted by °Ace° View Post
PHP Code:
root@dqv:~ # mysql_upgrade -u root -p
Enter password:
Looking for 'mysql' as: mysql
Looking 
for 'mysqlcheck' as: mysqlcheck
FATAL ERROR
Upgrade failed
root
@dqv:~ 
deinstallier doch einfach die alte mysql version und installier 5.6 ist auch nicht viel mehr aufwand
03/10/2016 17:33 °Ace°#5
Quote:
Originally Posted by gerald500 View Post
deinstallier doch einfach die alte mysql version und installier 5.6 ist auch nicht viel mehr aufwand
Ich habe die Version 5.6.
Nachdem ich mein Root hatte, habe ich mysql 5.6 mit "pkg install mysql56-server" installiert.
03/10/2016 17:34 .Shōgun#6
Post the contents of /var/db/mysql/"hostname".err

Where "hostname" is the name of your machine (you can find it out using the command "hostname" in the shell)
03/10/2016 17:53 °Ace°#7
Quote:
Originally Posted by .Shōgun View Post
Post the contents of /var/db/mysql/"hostname".err

Where "hostname" is the name of your machine (you can find it out using the command "hostname" in the shell)
PHP Code:
160310 17:47:50 mysqld_safe mysqld from pid file /var/db/mysql/dqv.pid ended
160310 17
:48:26 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
2016
-03-10 17:48:27 0 [WarningTIMESTAMP with implicit DEFAULT value is deprecatedPlease use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-03-10 17:48:27 0 [Note] /usr/local/libexec/mysqld (mysqld 5.6.27starting as process 713 ...
2016-03-10 17:48:27 713 [NotePlugin 'FEDERATED' is disabled.
/
usr/local/libexec/mysqldTable 'mysql.plugin' doesn't exist
2016-03-10 17:48:27 713 [ERROR] Can'
t open the mysql.plugin tablePlease run mysql_upgrade to create it.
2016-03-10 17:48:27 713 [NoteInnoDBUsing atomics to ref count buffer pool pages
2016
-03-10 17:48:27 713 [NoteInnoDBThe InnoDB memory heap is disabled
2016
-03-10 17:48:27 713 [NoteInnoDBMutexes and rw_locks use GCC atomic builtins
2016
-03-10 17:48:27 713 [NoteInnoDBMemory barrier is not used
2016
-03-10 17:48:27 713 [NoteInnoDBCompressed tables use zlib 1.2.3
2016
-03-10 17:48:27 713 [NoteInnoDBUsing CPU crc32 instructions
2016
-03-10 17:48:27 713 [NoteInnoDBInitializing buffer poolsize 128.0M
2016
-03-10 17:48:27 713 [NoteInnoDBCompleted initialization of buffer pool
2016
-03-10 17:48:27 713 [NoteInnoDBThe first specified data file ./ibdata1 did not existnew database to be created!
2016-03-10 17:48:27 713 [NoteInnoDBSetting file ./ibdata1 size to 12 MB
2016
-03-10 17:48:27 713 [NoteInnoDBDatabase physically writes the file fullwait...
2016-03-10 17:48:27 713 [NoteInnoDBSetting log file ./ib_logfile101 size to 48 MB
2016
-03-10 17:48:27 713 [NoteInnoDBSetting log file ./ib_logfile1 size to 48 MB
2016
-03-10 17:48:28 713 [NoteInnoDBRenaming log file ./ib_logfile101 to ./ib_logfile0
2016
-03-10 17:48:28 713 [WarningInnoDB: New log files createdLSN=45781
2016
-03-10 17:48:28 713 [NoteInnoDBDoublewrite buffer not foundcreating new
2016-03-10 17:48:28 713 [NoteInnoDBDoublewrite buffer created
2016
-03-10 17:48:28 713 [NoteInnoDB128 rollback segment(sare active.
2016-03-10 17:48:28 713 [WarningInnoDBCreating foreign key constraint system tables.
2016-03-10 17:48:28 713 [NoteInnoDBForeign key constraint system tables created
2016
-03-10 17:48:28 713 [NoteInnoDBCreating tablespace and datafile system tables.
2016-03-10 17:48:28 713 [NoteInnoDBTablespace and datafile system tables created.
2016-03-10 17:48:28 713 [NoteInnoDBWaiting for purge to start
2016
-03-10 17:48:28 713 [NoteInnoDB5.6.27 startedlog sequence number 0
/usr/local/libexec/mysqldError on delete of './auto.cnf' (ErrcodeNo such file or directory)
2016-03-10 17:48:28 713 [WarningWorld-writable config file './auto.cnf' has been removed.

2016-03-10 17:48:28 713 [WarningNo existing UUID has been foundso we assume that this is the first time that this server has been startedGenerating a new UUIDe9eb86d3-e6df-11e5-af05-005056002303.
2016
-03-10 17:48:28 713 [NoteServer hostname (bind-address): '*'port3306
2016
-03-10 17:48:28 713 [NoteIPv6 is available.
2016-03-10 17:48:28 713 [Note]   - '::' resolves to '::';
2016-03-10 17:48:28 713 [NoteServer socket created on IP'::'.
2016-03-10 17:48:28 713 [ERRORMissing system table mysql.proxies_privplease run mysql_upgrade to create it
2016
-03-10 17:48:28 713 [ERRORCan't open and lock privilege tables: Table 'mysql.servers' doesn't exist
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'cond_instances' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_waits_current' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_waits_history' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_waits_history_long' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_waits_summary_by_host_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_waits_summary_by_instance' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_waits_summary_by_thread_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_waits_summary_by_user_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_waits_summary_by_account_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_waits_summary_global_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'file_instances' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'file_summary_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'file_summary_by_instance' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'host_cache' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'mutex_instances' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'objects_summary_global_by_type' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'performance_timers' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'rwlock_instances' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'setup_actors' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'setup_consumers' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'setup_instruments' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'setup_objects' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'setup_timers' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'table_io_waits_summary_by_index_usage' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'table_io_waits_summary_by_table' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'table_lock_waits_summary_by_table' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'threads' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_stages_current' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_stages_history' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_stages_history_long' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_stages_summary_by_thread_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_stages_summary_by_account_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_stages_summary_by_user_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_stages_summary_by_host_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_stages_summary_global_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_statements_current' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_statements_history' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_statements_history_long' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_statements_summary_by_thread_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_statements_summary_by_account_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_statements_summary_by_user_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_statements_summary_by_host_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_statements_summary_global_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'events_statements_summary_by_digest' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'users' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'accounts' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'hosts' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'socket_instances' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'socket_summary_by_instance' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'socket_summary_by_event_name' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'session_connect_attrs' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORNative table 'performance_schema'.'session_account_connect_attrs' has the wrong structure
2016
-03-10 17:48:28 713 [ERRORColumn count of mysql.db is wrongExpected 22found 20. Created with MySQL 50092now running 50627. Please use mysql_upgrade to fix this error.
2016-03-10 17:48:28 713 [ERRORCannot open mysql.event
2016
-03-10 17:48:28 713 [ERROREvent SchedulerAn error occurred when initializing system tablesDisabling the Event Scheduler.
2016-03-10 17:48:28 713 [Note] /usr/local/libexec/mysqldready for connections.
Version'5.6.27'  socket'/tmp/mysql.sock'  port3306  Source distribution 
03/10/2016 18:30 .Shōgun#8
/usr/local/bin/mysql_upgrade -S /tmp/mysql.sock -u root -p
03/10/2016 18:50 °Ace°#9
Quote:
Originally Posted by .Shōgun View Post
/usr/local/bin/mysql_upgrade -S /tmp/mysql.sock -u root -p
Nice, thx it work! :D