Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all 7172 articles
Browse latest View live

5.7 install - fractional seconds (1 reply)

$
0
0
I just upgraded to MySQL Community 5.7.11 on Windows7 x64. This appears to have actually loaded Server 5.5.48. I need the newer 5.6.4+ version that supports fractional seconds for DATETIME, i.e. DATETIME(3). Why didn't I get a newer version of the server with this package?

Mysql install on linux as non-root user (1 reply)

$
0
0
We have installed mysql server using root user -- there is division of role and responsibilities between unix and dba team. Do you have documentation which supports install of mysql on linux OS as non-root user.

Thanks in advance

Help with Installation Issues on Windows XP System (2 replies)

$
0
0
Dear Experts,

My System Configuration is Windows XP Professional Version 2002 service pack 3

When i tried to install mysql db server 5.7 through mysql installer, it was completed successfully.

But when i tried to open the command line client for connecting the locally installed server. It throws the error

"C:\Program Files\MYSQL\MYSQL Server 5.7\bin\mysql.exe is not a valid Win32 application".

Please help me the resolve the issue.

5.7.11 Install Errors on Windows 10 Using Noinstall Zip Archive (no replies)

$
0
0
I'm trying to do a manual install of 5.7.11 on Windows 10 Pro 64-bit. I want everything on my E: Data drive which is a Microsoft Storage Spaces Parity Array 3.62TB (2.82TB Free). I setup the folder structure as follows:

Directory: E:\mysql\mysql5.7.11x64

Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 4/7/2016 12:34 PM bin
d----- 4/7/2016 2:34 PM data
d----- 4/7/2016 12:34 PM docs
d----- 4/7/2016 12:34 PM include
d----- 4/7/2016 12:34 PM lib
d----- 4/7/2016 12:34 PM share
-a---- 4/7/2016 12:34 PM 17987 COPYING
-a---- 4/7/2016 12:34 PM 1141 my-default.ini.old
-a---- 4/7/2016 12:54 PM 1121 my.ini
-a---- 4/7/2016 12:34 PM 2478 README


In my.ini the only active entries are as follows:

[mysqld]
# set basedir to your installation path
basedir=E:/MySQL/MySQL5.7.11x64
# set datadir to the location of your data directory
datadir=E:/MySQL/MySQL5.7.11x64/data

sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

I'm following the directions in the Reference Manual 2.3.5 Installing MySQL on Microsoft Windows Using a noinstall Zip Archive.
When trying to Initialize the Data Directory I open PowerShell as Administrator and run the following commands:

C:\WINDOWS\system32>e:
E:\>cd mysql\mysql5.7.11x64
E:\MySQL\MySQL5.7.11x64>bin\mysqld.exe --defaults- file=E:\mysql\mysql5.7.11x64\my.ini --initialize-insecure --console

I was planning to setup User Account passwords later, and wanted more information displayed in the PowerShell console. The last command displays the following errors:

2016-04-08T12:20:38.039725Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defau
lts_for_timestamp server option (see documentation for more details).
2016-04-08T12:20:38.039725Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes sho
uld be used with strict mode. They will be merged with strict mode in a future release.
2016-04-08T12:20:38.039725Z 0 [Warning] 'NO_AUTO_CREATE_USER' sql mode was not set.
2016-04-08T12:20:44.207529Z 0 [ERROR] InnoDB: Operating system error number 87 in a file operation.
2016-04-08T12:20:44.207529Z 0 [ERROR] InnoDB: File .\ib_logfile101: 'aio write' returned OS error 187. Cannot continue o
peration
2016-04-08T12:20:44.207529Z 0 [ERROR] InnoDB: Cannot continue operation.

Are there other things I should be adding to my.ini for this type of install?
Are there System Environment Variables I should setup before running this process?
I tried to open the log files created in the data directory in Notepad, but they wouldn't open.
I would appreciate any help you can give me to resolve this issue.

switch more datadir (2 replies)

$
0
0
on my development PC
I wish I had more than one datadir to switch by datadir param in mysql configuration file

on windows-wamp I get the target easily
just make several copies of the original data\ folder
eg
D:\db\data1\
D:\db\data2\
D:\db\data3\
switch datadir da my.ini and restart mysqld service

on linuxubuntu I get error
I've done copies of the original folder, keeping permissions and owner
/var/lib/mysql1/
/var/lib/mysql2/
/var/lib/mysql3/
switch datadir by my.cnf, and restart mysqld service


$ sudo service mysql start
start: Job failed to start

/var/log/mysql/error.log

2016-04-10 17:25:38 3655 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
2016-04-10 17:25:38 3655 [Note] Plugin 'FEDERATED' is disabled.
?/usr/sbin/mysqld: Can't find file: './mysql/plugin.frm' (errno: 13 - Permission denied)
2016-04-10 17:25:38 3655 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2016-04-10 17:25:38 3655 [Note] InnoDB: Using atomics to ref count buffer pool pages
2016-04-10 17:25:38 3655 [Note] InnoDB: The InnoDB memory heap is disabled
2016-04-10 17:25:38 3655 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-04-10 17:25:38 3655 [Note] InnoDB: Memory barrier is not used
2016-04-10 17:25:38 3655 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-04-10 17:25:38 3655 [Note] InnoDB: Using Linux native AIO
2016-04-10 17:25:38 3655 [Note] InnoDB: Using CPU crc32 instructions
2016-04-10 17:25:38 3655 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-04-10 17:25:38 3655 [Note] InnoDB: Completed initialization of buffer pool
2016-04-10 17:25:38 3655 [ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode
2016-04-10 17:25:38 3655 [ERROR] InnoDB: The system tablespace must be writable!
2016-04-10 17:25:38 3655 [ERROR] Plugin 'InnoDB' init function returned error.
2016-04-10 17:25:38 3655 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2016-04-10 17:25:38 3655 [ERROR] Unknown/unsupported storage engine: InnoDB
2016-04-10 17:25:38 3655 [ERROR] Aborting

thanks from now for the suggestions

import old data base to new database location (no replies)

$
0
0
Hello, i need help for importing my website database backup to new database location

The command I tried is not working :
mysql -u root -p yourpass mysql dbname < /root/localhost.sql

please help with the accurate one.

How to upgrade 5.1 version to 5.6? (1 reply)

$
0
0
Hi guys I have 5.1 version db is using now. But I wanna upgrade it to 5.6 or 5.7.
Which way is more easy to upgrade?
I think the most safety way is use mysqldump backup all data, and then use mysql client import the dump file to the new version server.

Does anyone has more easy way to do this? mysqldump is waste of my time,the entire data is too big.

MySQLWorkbench install (no replies)

$
0
0
The MySQLWorkbench App not opening after installation and i dont know why.

i have Imac with OSX LION 10.7.5

i opened MYSQL account today and download the installation file. i take look in system requirements of the App and show that my specific version is not there, but old and new versions than mine are supported. after the installation i tried to open the file and a window came up with the following:

"MySQLWorkbench cannot be opened because of a problem."


"Check with the developer to make sure MySQLWorkbench works with this version of Mac OS X. You may need to reinstall the application. Be sure to install any available updates for the application and Mac OS X.

Click Report to see more detailed information and send a report to Apple."

i tried to reinstall the App but it didn't help. someone here know how to solve this?

thanks

MySQL Connector/C++ not available in repo (no replies)

Windows Server 2012 NTFS Allocation Unit Size for Drives (no replies)

$
0
0
Hi,
I'm new to mysql and I am wondering what the recommended NTFS allocation unit size is for the data/log/tempdb drives. For SQL server it is 64K, just wondering what I should use for mysql 5.7.x. We will be using the innodb storage engine.
Thanks!

Mac OSX 10.11 install stuck on verifying (no replies)

$
0
0
I am trying to install mysql for a school project, and when I install from the .pkg, it gets stuck at the verifying bar. I give it 10 minutes, and after absolutely no progress, I just shut it down. Help please!

mysql_install_db five tables error (no replies)

$
0
0
Hello

I installed mysql 5.6 on linux. I encountered the similar cases of Bug #68807 (five tables error). However it is not a solution to indicate explicitly defaults-file= on mysql_install_db.
Could you give any other solution on this issues ?

mysql Ver 14.14 Distrib 5.6.25, for Linux (x86_64) using EditLine wrapper

[Tue Apr 12 18:37:57.646 2016] 2016-04-12 18:34:18 7f5ad485b700 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
[Tue Apr 12 18:37:57.646 2016] 2016-04-12 18:34:18 7f5ad485b700 InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
[Tue Apr 12 18:37:57.646 2016] 2016-04-12 18:34:18 7f5ad485b700 InnoDB: Error: Fetch of persistent statistics requested for table "business_db"."contract_info_kpf" but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.

Kiyoshi Egawa @ Tokyo

Greek.xml on charsets (1 reply)

$
0
0
I have changed thw file into folder share\charsets\greek.xml as the greek_general_ci to recognize Greek and Latin characters with simiral view as same (i.e. Greek A and Latin A as the same character).
It works nice with MySQL 5.0.84 when i copy this into share\charsets\ and recreate tables.
I tried the same procedure with MySQL 5.6.27-log and it doesn't works.

What to do when MySQL Notifier is unable to search/find the database service (no replies)

$
0
0
This generally happens when you change the default name of the database service during Mysql installation. No issues. The fix is simple. Go to the system tray and right click the icon -> Actions -> Manage monitored service. Just delete and add the service once again. That should fix the problem and you should be now able to start and stop the services.

Ubuntu 16.04 Xenial - apt repository (no replies)

$
0
0
Hi

Will it be available soon ? I would like to upgrade a VPS from Ubuntu 14.04 to 16.04 but at this moment there's no apt repo for Xenial.

Cheers

Deleting my current version of mysql (no replies)

$
0
0
I am currently running version 4.6 and i want to delete it and upgrade to the newest version i.e. 5.7.

Can someone please tell me how i can do this ussing cpanel?

thanks

problems upgrading from 5.6 to 5.7 (no replies)

$
0
0
Hi all,

Hope you can help! I am upgrading my mythtv box from 15.10 to 16.04 and with that it updated mysql to 5.7(.12) but my mysql installation did not complete because of an error during it's configuration.

I have changed the entries in my.cnf to "key-buffer-size" and "myisam_recover_options", so that's not a problem anymore, but while trying to figure this problem out, I think my system tables have become corrupted.

running mysql -uroot will get me into the system only when I have started mysqld with the --skip-grant-tables option, and trying to set or change the root password results in the password hash being stored in the 'plugin' field of the user table.

I am not sure what I did to mess up the system tables (or perhaps they were not updated to what 5.7 expects since the dpkg configure step keeps failing), but I am lost.

errors.log reports the following when the install attempts to configure the server:
<begin log>

2016-05-03T05:35:06.269468Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-05-03T05:35:06.270564Z 0 [Note] mysqld (mysqld 5.7.12-0ubuntu1) starting as process 19859 ...
2016-05-03T05:35:06.291792Z 0 [Note] InnoDB: PUNCH HOLE support available
2016-05-03T05:35:06.291918Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-05-03T05:35:06.291947Z 0 [Note] InnoDB: Uses event mutexes
2016-05-03T05:35:06.291971Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-05-03T05:35:06.291995Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-05-03T05:35:06.292018Z 0 [Note] InnoDB: Using Linux native AIO
2016-05-03T05:35:06.292658Z 0 [Note] InnoDB: Number of pools: 1
2016-05-03T05:35:06.292931Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2016-05-03T05:35:06.321775Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2016-05-03T05:35:06.355583Z 0 [Note] InnoDB: Completed initialization of buffer pool
2016-05-03T05:35:06.360308Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2016-05-03T05:35:06.377592Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2016-05-03T05:35:06.453524Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2016-05-03T05:35:06.453835Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2016-05-03T05:35:06.637836Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2016-05-03T05:35:06.639382Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2016-05-03T05:35:06.639421Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2016-05-03T05:35:06.653313Z 0 [Note] InnoDB: 5.7.12 started; log sequence number 2652990
2016-05-03T05:35:06.655563Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2016-05-03T05:35:06.657019Z 0 [Note] Plugin 'FEDERATED' is disabled.
2016-05-03T05:35:06.673412Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2016-05-03T05:35:06.673576Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2016-05-03T05:35:06.673748Z 0 [Note] IPv6 is available.
2016-05-03T05:35:06.673775Z 0 [Note] - '::' resolves to '::';
2016-05-03T05:35:06.673885Z 0 [Note] Server socket created on IP: '::'.
2016-05-03T05:35:06.677380Z 0 [Note] InnoDB: Buffer pool(s) load completed at 160503 0:35:06
2016-05-03T05:35:06.713395Z 0 [ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type char(77), found type char(141).
2016-05-03T05:35:06.713512Z 0 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
2016-05-03T05:35:06.713694Z 0 [Note] Execution of init_file '/var/lib/mysql-files/tmp.tNUCd3lUwZ' started.
2016-05-03T05:35:06.715522Z 0 [Note] Execution of init_file '/var/lib/mysql-files/tmp.tNUCd3lUwZ' ended.
2016-05-03T05:35:06.715670Z 0 [Note] mysqld: ready for connections.
Version: '5.7.12-0ubuntu1' socket: '/tmp/tmp.FSDhyQg0vT/mysqld.sock' port: 3306 (Ubuntu)
2016-05-03T05:35:06.716022Z 0 [Note] Giving 0 client threads a chance to die gracefully
2016-05-03T05:35:06.716056Z 0 [Note] Shutting down slave threads
2016-05-03T05:35:06.716071Z 0 [Note] Forcefully disconnecting 0 remaining clients
2016-05-03T05:35:06.716126Z 0 [Note] Binlog end
2016-05-03T05:35:06.717070Z 0 [Note] Shutting down plugin 'ngram'
2016-05-03T05:35:06.717101Z 0 [Note] Shutting down plugin 'ARCHIVE'
2016-05-03T05:35:06.717115Z 0 [Note] Shutting down plugin 'partition'
2016-05-03T05:35:06.717128Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2016-05-03T05:35:06.717142Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2016-05-03T05:35:06.717156Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2016-05-03T05:35:06.717168Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2016-05-03T05:35:06.717180Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2016-05-03T05:35:06.717193Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2016-05-03T05:35:06.717209Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2016-05-03T05:35:06.717222Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2016-05-03T05:35:06.717235Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2016-05-03T05:35:06.717251Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2016-05-03T05:35:06.717265Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2016-05-03T05:35:06.717278Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2016-05-03T05:35:06.717291Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2016-05-03T05:35:06.717304Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2016-05-03T05:35:06.717320Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2016-05-03T05:35:06.717333Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2016-05-03T05:35:06.717346Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2016-05-03T05:35:06.717361Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2016-05-03T05:35:06.717374Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2016-05-03T05:35:06.717387Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2016-05-03T05:35:06.717400Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2016-05-03T05:35:06.717412Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2016-05-03T05:35:06.717424Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2016-05-03T05:35:06.717436Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2016-05-03T05:35:06.717450Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2016-05-03T05:35:06.717468Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2016-05-03T05:35:06.717481Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2016-05-03T05:35:06.717494Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2016-05-03T05:35:06.717507Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2016-05-03T05:35:06.717549Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2016-05-03T05:35:06.717562Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2016-05-03T05:35:06.717575Z 0 [Note] Shutting down plugin 'InnoDB'
2016-05-03T05:35:06.717687Z 0 [Note] InnoDB: FTS optimize thread exiting.
2016-05-03T05:35:06.717939Z 0 [Note] InnoDB: Starting shutdown...
2016-05-03T05:35:06.818347Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2016-05-03T05:35:06.818827Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 160503 0:35:06
2016-05-03T05:35:08.566717Z 0 [Note] InnoDB: Shutdown completed; log sequence number 2653009
2016-05-03T05:35:08.571264Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2016-05-03T05:35:08.571314Z 0 [Note] Shutting down plugin 'MEMORY'
2016-05-03T05:35:08.571338Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2016-05-03T05:35:08.571419Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2016-05-03T05:35:08.571448Z 0 [Note] Shutting down plugin 'MyISAM'
2016-05-03T05:35:08.571481Z 0 [Note] Shutting down plugin 'CSV'
2016-05-03T05:35:08.571511Z 0 [Note] Shutting down plugin 'sha256_password'
2016-05-03T05:35:08.571532Z 0 [Note] Shutting down plugin 'mysql_native_password'
2016-05-03T05:35:08.571813Z 0 [Note] Shutting down plugin 'binlog'
2016-05-03T05:35:08.572497Z 0 [Note] mysqld: Shutdown complete

2016-05-03T05:35:09.070520Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
2016-05-03T05:35:09.070720Z 0 [Warning] Changed limits: table_open_cache: 457 (requested 2000)
2016-05-03T05:35:09.310159Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2016-05-03T05:35:09.311244Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.12-0ubuntu1) starting as process 19933 ...
2016-05-03T05:35:09.320932Z 0 [Note] InnoDB: PUNCH HOLE support available
2016-05-03T05:35:09.321055Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-05-03T05:35:09.321073Z 0 [Note] InnoDB: Uses event mutexes
2016-05-03T05:35:09.321092Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-05-03T05:35:09.321109Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-05-03T05:35:09.321130Z 0 [Note] InnoDB: Using Linux native AIO
2016-05-03T05:35:09.321856Z 0 [Note] InnoDB: Number of pools: 1
2016-05-03T05:35:09.322147Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2016-05-03T05:35:09.357310Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2016-05-03T05:35:09.393521Z 0 [Note] InnoDB: Completed initialization of buffer pool
2016-05-03T05:35:09.399700Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2016-05-03T05:35:09.417674Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2016-05-03T05:35:09.484421Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2016-05-03T05:35:09.484610Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2016-05-03T05:35:09.680872Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2016-05-03T05:35:09.682403Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2016-05-03T05:35:09.682445Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2016-05-03T05:35:09.684750Z 0 [Note] InnoDB: 5.7.12 started; log sequence number 2653009
2016-05-03T05:35:09.686956Z 0 [Note] Plugin 'FEDERATED' is disabled.
2016-05-03T05:35:09.690049Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2016-05-03T05:35:09.691374Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2016-05-03T05:35:09.691497Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2016-05-03T05:35:09.691613Z 0 [Note] IPv6 is available.
2016-05-03T05:35:09.691693Z 0 [Note] - '::' resolves to '::';
2016-05-03T05:35:09.691785Z 0 [Note] Server socket created on IP: '::'.
2016-05-03T05:35:09.699297Z 0 [Note] InnoDB: Buffer pool(s) load completed at 160503 0:35:09
2016-05-03T05:35:09.713975Z 0 [ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type char(77), found type char(141).
2016-05-03T05:35:09.714200Z 0 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
2016-05-03T05:35:09.714666Z 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.7.12-0ubuntu1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Ubuntu)
2016-05-03T05:35:10.094886Z 3 [Note] Your password has expired. To log in you must change it using a client that supports expired passwords.
<end log>

I *think* I would like to wipe this installation's data, start over from scratch so that it creates new system tables, then restore my database from backup. Not sure how to drop all the system tables and recreate them though.

Any ideas?? My databases are backed up, so loosing data in this installation is not a problem.

Thanks,

George

Malformed packet error (no replies)

$
0
0
Installed MySQL 5.7.12 server and client on RedHat RHEL 7. When I was trying to connect to a remote MySQL server (which is on version 5.1), I got the malformed packet error:

mysql -u username -h remote_host -p
Enter password:
ERROR 2027 (HY000): Malformed packet

Have been stuck for a few days, googled but didn't find any solutions. Please help. Thanks!

Mysql Service on Local Computer Started and then Stopped (no replies)

$
0
0
My findings with v 5.7.12.0...

The brain-dead installer needs help with adding entries to MY.INI.

Firstly, it failed to add a correctly formatted path for the 'datadir' parameter, as in it didn't quote the path which had spaces in and it mixed forward and backslashes.

Secondly, it mangled the path for the logs that I'd entered, turning what I'd browsed for - note: "browsed for", not "typed"!! - which was "C:/ProgramData/MySQL/Logs/[machine_name]_General.log" to "C:/ProgramData/MySQL/MySQL/Lgs/[machine_name]_General.log". Other log entries also had to have their paths quoted.

Once these were corrected, the service started.

Temporary table problem (no replies)

$
0
0
I have installed mysql server 5.1.73 version.
When I execute some queries that create temporary table I get an error : "Table '/data/mysqltmpdir/#sql_c29e_0' is marked as crashed and should be repaired"
Error is random. Error isn't thrown always that I execute query
I use a virtual enviroment

Thanks in advance
Viewing all 7172 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>