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

Fresh MAMP install on new iMac running High Sierra (no replies)

$
0
0
Hello all. I just recently got an iMac and installed the latest version of MAMP. Before the installation, I transferred the mysql databases from my MacBook. After the install on the iMac, mysql had to update the databases which appeared to be successful. I am able to browse all 80 databases and tables using phpMyAdmin but when I load my website, it stops at the first connection string, no error is throw, and nothing is displayed. It's been quite a while since I messed with any config files but I'm certainly willing to do so if it will help. I can provide any information you may need to help troubleshoot, so please don't hesitate to ask and any suggestions would be greatly appreciated. Thanks in advance.
Clark

Install python connector won't recognise python 3.6 installed (no replies)

$
0
0
I would like to access my MySQl database from Python (currently 3.6), but the connector won't install as I don't have 3.4! Why is 3.6 not good enough, despite the documentation saying it is for 3.4 and later?
All it says is that the prerequisite not matched, and no way to override or correct it.

Error installing MySQL router (no replies)

$
0
0
Can't seem to finish configuration of MySQL router. Log files below.

Beginning configuration step: Removing MySQL Router Windows service [if necessary]
MySQL Router Windows service is not present, nothing to remove.
Ended configuration step: Removing MySQL Router Windows service [if necessary]

Beginning configuration step: Creating MySQL Router configuration files
An Error occurred: Error: The provided server does not seem to contain metadata for a MySQL InnoDB cluster

Ended configuration step: Creating MySQL Router configuration files

Can't get past Visual Studio requirement (no replies)

$
0
0
Hi All,

I have a Windows 10 Pro, 64-bit computer. I have tried to install MySQL v5.7.20.0 several times. I downloaded and installed Visual C++ 2013 run time that I found linked to in another post. This didn't help. It still doesn't pass the Visual Studio requirement. The exact requirement message is: 'Visual Studio 2012, 2013, 2015 or 2017 must be installed.'

Does this mean I have to buy the full version of the software?


Thank you for any help,

Charles

Windows 2012R2 Can't Start server after install (no replies)

$
0
0
mysqld stops immediately after starting during initial configuration (MySQL_Server5.7). MySQL is installed on a raid5 array 4TB partition (GPT) which is not the OS boot partition. Adding "innodb_flush_method=normal" to my.ini does not fix the problem. Deleting ibdata1 and starting the service does not help. I've been stuck for days - any suggestions would be greatly appreciated

Please find below the my.ini and errors generated

my.ini:
[client]
port=3306
[mysql]
no-beep=
default-character-set=utf8
[mysqld]
port=3306
datadir=H:/Data/MySQL_Server5.7/Data
character-set-server=utf8
default-storage-engine=INNODB
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
log-output=FILE
general-log=0
general_log_file="SHK-L070005SRG.log"
slow-query-log=1
slow_query_log_file="SHK-L070005SRG-slow.log"
long_query_time=10
log-error="SHK-L070005SRG.err"
server-id=1
secure-file-priv="C:/ProgramData/MySQL/MySQL Server 5.7/Uploads"
max_connections=151
table_open_cache=2000
tmp_table_size=16M
thread_cache_size=10
myisam_max_sort_file_size=100G
myisam_sort_buffer_size=8M
key_buffer_size=8M
read_buffer_size=0
read_rnd_buffer_size=0

innodb_flush_method=normal

innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=1M
innodb_buffer_pool_size=8M
innodb_log_file_size=48M
innodb_thread_concurrency=33
innodb_autoextend_increment=64
innodb_buffer_pool_instances=8
innodb_concurrency_tickets=5000
innodb_old_blocks_time=1000
innodb_open_files=300
innodb_stats_on_metadata=0
innodb_file_per_table=1
innodb_checksum_algorithm=0
back_log=80
flush_time=0
join_buffer_size=256K
max_allowed_packet=4M
max_connect_errors=100
open_files_limit=4161
sort_buffer_size=256K
table_definition_cache=1400
binlog_row_event_max_size=8K
sync_master_info=10000
sync_relay_log=10000
sync_relay_log_info=10000

error log:

2018-01-11T18:54:28.692201Z 0 [Warning] option 'read_buffer_size': unsigned value 0 adjusted to 8192
2018-01-11T18:54:28.692201Z 0 [Warning] option 'read_rnd_buffer_size': unsigned value 0 adjusted to 1
2018-01-11T18:54:28.692201Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-01-11T18:54:28.692201Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2018-01-11T18:54:28.692201Z 0 [Note] H:\MySQL_Server5.7\bin\mysqld.exe (mysqld 5.7.20-log) starting as process 5904 ...
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Uses event mutexes
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Adjusting innodb_buffer_pool_instances from 8 to 1 since innodb_buffer_pool_size is less than 1024 MiB
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Number of pools: 1
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Initializing buffer pool, total size = 8M, instances = 1, chunk size = 8M
2018-01-11T18:54:28.707826Z 0 [Note] InnoDB: Completed initialization of buffer pool
2018-01-11T18:54:28.739076Z 0 [ERROR] InnoDB: Header page consists of zero bytes in datafile: .\ibdata1, Space ID:0, Flags: 0. Please refer to http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting-datadict.html for how to resolve the issue.
2018-01-11T18:54:28.739076Z 0 [ERROR] InnoDB: Corrupted page [page id: space=0, page number=0] of datafile '.\ibdata1' could not be found in the doublewrite buffer.
2018-01-11T18:54:28.739076Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
2018-01-11T18:54:29.067206Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2018-01-11T18:54:29.067206Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-01-11T18:54:29.067206Z 0 [ERROR] Failed to initialize plugins.
2018-01-11T18:54:29.067206Z 0 [ERROR] Aborting

2018-01-11T18:54:29.067206Z 0 [Note] Binlog end
2018-01-11T18:54:29.067206Z 0 [Note] Shutting down plugin 'CSV'
2018-01-11T18:54:29.067206Z 0 [Note] H:\MySQL_Server5.7\bin\mysqld.exe: Shutdown complete

2018-01-11T18:55:03.398061Z 0 [Warning] option 'read_buffer_size': unsigned value 0 adjusted to 8192
2018-01-11T18:55:03.398061Z 0 [Warning] option 'read_rnd_buffer_size': unsigned value 0 adjusted to 1
2018-01-11T18:55:03.398061Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2018-01-11T18:55:03.398061Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2018-01-11T18:55:03.398061Z 0 [Note] H:\MySQL_Server5.7\bin\mysqld.exe (mysqld 5.7.20-log) starting as process 5064 ...
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Mutexes and rw_locks use Windows interlocked functions
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Uses event mutexes
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: _mm_lfence() and _mm_sfence() are used for memory barrier
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Adjusting innodb_buffer_pool_instances from 8 to 1 since innodb_buffer_pool_size is less than 1024 MiB
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Number of pools: 1
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Not using CPU crc32 instructions
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Initializing buffer pool, total size = 8M, instances = 1, chunk size = 8M
2018-01-11T18:55:03.413686Z 0 [Note] InnoDB: Completed initialization of buffer pool
2018-01-11T18:55:03.444937Z 0 [ERROR] InnoDB: Header page consists of zero bytes in datafile: .\ibdata1, Space ID:0, Flags: 0. Please refer to http://dev.mysql.com/doc/refman/5.7/en/innodb-troubleshooting-datadict.html for how to resolve the issue.
2018-01-11T18:55:03.444937Z 0 [ERROR] InnoDB: Corrupted page [page id: space=0, page number=0] of datafile '.\ibdata1' could not be found in the doublewrite buffer.
2018-01-11T18:55:03.444937Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Data structure corruption
2018-01-11T18:55:03.773066Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2018-01-11T18:55:03.773066Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2018-01-11T18:55:03.773066Z 0 [ERROR] Failed to initialize plugins.
2018-01-11T18:55:03.773066Z 0 [ERROR] Aborting

2018-01-11T18:55:03.773066Z 0 [Note] Binlog end
2018-01-11T18:55:03.773066Z 0 [Note] Shutting down plugin 'CSV'
2018-01-11T18:55:03.773066Z 0 [Note] H:\MySQL_Server5.7\bin\mysqld.exe: Shutdown complete

Try to install mysql Cluster MySql (no replies)

$
0
0
trying to install MySQL Cluster 7.5.8 Comercial Version on Red Hat Enterprise Linux Server release 7.1 (Maipo).

So, when use yum have this error

yum --nogpgcheck --skip-broken localinstall mysql-cluster-commercial-client-7.5.8-1.1.el7.x86_64.rpm mysql-cluster-commercial-server-7.5.8-1.1.el7.x86_64.rpm
Loaded plugins: langpacks
Examining mysql-cluster-commercial-client-7.5.8-1.1.el7.x86_64.rpm: mysql-cluster-commercial-client-7.5.8-1.1.el7.x86_64
Marking mysql-cluster-commercial-client-7.5.8-1.1.el7.x86_64.rpm to be installed
Examining mysql-cluster-commercial-server-7.5.8-1.1.el7.x86_64.rpm: mysql-cluster-commercial-server-7.5.8-1.1.el7.x86_64
Marking mysql-cluster-commercial-server-7.5.8-1.1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mysql-cluster-commercial-client.x86_64 0:7.5.8-1.1.el7 will be installed
--> Processing Dependency: mysql-cluster-commercial-libs(x86-64) >= 5.7.9 for package: mysql-cluster-commercial-client-7.5.8-1.1.el7.x86_64
--> Processing Dependency: perl(Class::MethodMaker) for package: mysql-cluster-commercial-client-7.5.8-1.1.el7.x86_64
---> Package mysql-cluster-commercial-server.x86_64 0:7.5.8-1.1.el7 will be installed
--> Processing Dependency: mysql-cluster-commercial-common(x86-64) = 7.5.8-1.1.el7 for package: mysql-cluster-commercial-server-7.5.8-1.1.el7.x86_64

Packages skipped because of dependency problems:
mysql-cluster-commercial-client-7.5.8-1.1.el7.x86_64 from /mysql-cluster-commercial-client-7.5.8-1.1.el7.x86_64
mysql-cluster-commercial-server-7.5.8-1.1.el7.x86_64 from /mysql-cluster-commercial-server-7.5.8-1.1.el7.x86_64

this package have problem itself ?

how pre-reqs package its necessary to install cluster mysql ?

have 12 packages, try to install all , but dosen't work

thanks

Which one do I need? (no replies)

$
0
0
Hi all. Just getting into this whole thing for the very first. My goal is to probably work off just my W10 laptop for now. May expand later. I would like to build simple websites with simple forms and have that connected to MySQL so I can do simple queries and such. What should I be downloading and installing to accomplish this?

MySql won't start after upgrade from 5.1 to 5.7 (no replies)

$
0
0
Hello World,
as the subject says I tried to perform an upgrade from a MySql 5.1 to a 5.7 and now the service is not running. I used the remi repo to do it.

- CentOS release 6.9
- Mysql Ver 14.14 Distrib 5.7.20, for Linux (x86_64) using EditLine wrapper

Actually if I launch the mysql service I got this:



[root@www etc]# mysql -u root -p
Enter password:**********
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


System is right: there's no mysql.sock file there and even if I try to "touch" it the output is gonna be:

CODE: SELECT ALL

[root@www local]# 2018-01-11T22:58:31.381719Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.20-log) starting as process 31906 ...
2018-01-11T22:58:31.387351Z 0 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!

2018-01-11T22:58:31.387482Z 0 [ERROR] Aborting

2018-01-11T22:58:31.387826Z 0 [Note] Binlog end
2018-01-11T22:58:31.388011Z 0 [Note] /usr/sbin/mysqld: Shutdown complete


Diggin' around the web I tried some solutions and I found someone with similar issue trying to launch this command:

CODE: SELECT ALL

sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking --user=mysql &


But I got this result and nothing is running anyway.

CODE: SELECT ALL

[root@www local]# sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking --user=mysql &
[1] 31910
[root@www local]# 2018-01-11T22:59:38.858174Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.20-log) starting as process 31911 ...
2018-01-11T22:59:38.868489Z 0 [Note] InnoDB: PUNCH HOLE support available
2018-01-11T22:59:38.868541Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-01-11T22:59:38.868563Z 0 [Note] InnoDB: Uses event mutexes
2018-01-11T22:59:38.868577Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2018-01-11T22:59:38.868591Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-01-11T22:59:38.868604Z 0 [Note] InnoDB: Using Linux native AIO
2018-01-11T22:59:38.870055Z 0 [Note] InnoDB: Number of pools: 1
2018-01-11T22:59:38.871958Z 0 [Note] InnoDB: Using CPU crc32 instructions
2018-01-11T22:59:38.882695Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2018-01-11T22:59:38.904975Z 0 [Note] InnoDB: Completed initialization of buffer pool
2018-01-11T22:59:38.909339Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2018-01-11T22:59:38.946190Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2018-01-11T22:59:39.016312Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2018-01-11T22:59:39.016434Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2018-01-11T22:59:39.066565Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2018-01-11T22:59:39.067998Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2018-01-11T22:59:39.068030Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2018-01-11T22:59:39.071683Z 0 [Note] InnoDB: Waiting for purge to start
2018-01-11T22:59:39.121986Z 0 [Note] InnoDB: 5.7.20 started; log sequence number 18814190143
2018-01-11T22:59:39.124946Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2018-01-11T22:59:39.126798Z 0 [Note] Plugin 'FEDERATED' is disabled.
2018-01-11T22:59:39.127010Z 0 [ERROR] unknown option '--skip-locking'
2018-01-11T22:59:39.127025Z 0 [ERROR] Aborting

2018-01-11T22:59:39.127046Z 0 [Note] Binlog end
2018-01-11T22:59:39.127156Z 0 [Note] Shutting down plugin 'ngram'
2018-01-11T22:59:39.127174Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2018-01-11T22:59:39.127191Z 0 [Note] Shutting down plugin 'partition'
2018-01-11T22:59:39.127200Z 0 [Note] Shutting down plugin 'ARCHIVE'
2018-01-11T22:59:39.127209Z 0 [Note] Shutting down plugin 'MyISAM'
2018-01-11T22:59:39.130359Z 0 [Note] Shutting down plugin 'CSV'
2018-01-11T22:59:39.130397Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2018-01-11T22:59:39.130408Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2018-01-11T22:59:39.130417Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2018-01-11T22:59:39.130425Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2018-01-11T22:59:39.130434Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2018-01-11T22:59:39.130443Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2018-01-11T22:59:39.130451Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2018-01-11T22:59:39.130460Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2018-01-11T22:59:39.130468Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2018-01-11T22:59:39.130477Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2018-01-11T22:59:39.130486Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2018-01-11T22:59:39.130494Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2018-01-11T22:59:39.130503Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2018-01-11T22:59:39.130511Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2018-01-11T22:59:39.130519Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2018-01-11T22:59:39.130528Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2018-01-11T22:59:39.130536Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2018-01-11T22:59:39.130544Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2018-01-11T22:59:39.130553Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2018-01-11T22:59:39.130562Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2018-01-11T22:59:39.130570Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2018-01-11T22:59:39.130580Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2018-01-11T22:59:39.130588Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2018-01-11T22:59:39.130597Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2018-01-11T22:59:39.130607Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2018-01-11T22:59:39.130616Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2018-01-11T22:59:39.130625Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2018-01-11T22:59:39.130633Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2018-01-11T22:59:39.130642Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2018-01-11T22:59:39.130650Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2018-01-11T22:59:39.130659Z 0 [Note] Shutting down plugin 'InnoDB'
2018-01-11T22:59:39.130815Z 0 [Note] InnoDB: FTS optimize thread exiting.
2018-01-11T22:59:39.131239Z 0 [Note] InnoDB: Starting shutdown...
2018-01-11T22:59:39.131738Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180111 23:59:39
2018-01-11T22:59:39.131812Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2018-01-11T22:59:39.134425Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 180111 23:59:39
2018-01-11T22:59:40.741487Z 0 [Note] InnoDB: Shutdown completed; log sequence number 18814190162
2018-01-11T22:59:40.744620Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2018-01-11T22:59:40.744669Z 0 [Note] Shutting down plugin 'MEMORY'
2018-01-11T22:59:40.744689Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2018-01-11T22:59:40.744705Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2018-01-11T22:59:40.744896Z 0 [Note] Shutting down plugin 'sha256_password'
2018-01-11T22:59:40.744913Z 0 [Note] Shutting down plugin 'mysql_native_password'
2018-01-11T22:59:40.745128Z 0 [Note] Shutting down plugin 'binlog'
2018-01-11T22:59:40.745510Z 0 [Note] /usr/sbin/mysqld: Shutdown complete


I don't really know what to do, any help please?

Thanks.

MySql won't start after upgrade from 5.1 to 5.7 (no replies)

$
0
0
Hello World,
as the subject says I tried to perform an upgrade from a MySql 5.1 to a 5.7 and now the service is not running. I used the remi repo to do it.

- CentOS release 6.7 (Final)
- Mysql Ver 14.14 Distrib 5.7.20, for Linux (x86_64) using EditLine wrapper

Actually if I launch the mysql service I got this:


[root@www etc]# mysql -u root -p
Enter password:**********
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)


System is right: there's no mysql.sock file there and even if I try to "touch" it the output is gonna be:


[root@www local]# 2018-01-11T22:58:31.381719Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.20-log) starting as process 31906 ...
2018-01-11T22:58:31.387351Z 0 [ERROR] Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!

2018-01-11T22:58:31.387482Z 0 [ERROR] Aborting

2018-01-11T22:58:31.387826Z 0 [Note] Binlog end
2018-01-11T22:58:31.388011Z 0 [Note] /usr/sbin/mysqld: Shutdown complete


Diggin' around the web I tried some solutions and I found someone with similar issue trying to launch this command:


sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking --user=mysql &


But I got this result and nothing is running anyway.


[root@www local]# sudo /usr/sbin/mysqld --skip-grant-tables --skip-networking --user=mysql &
[1] 31910
[root@www local]# 2018-01-11T22:59:38.858174Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.20-log) starting as process 31911 ...
2018-01-11T22:59:38.868489Z 0 [Note] InnoDB: PUNCH HOLE support available
2018-01-11T22:59:38.868541Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-01-11T22:59:38.868563Z 0 [Note] InnoDB: Uses event mutexes
2018-01-11T22:59:38.868577Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2018-01-11T22:59:38.868591Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-01-11T22:59:38.868604Z 0 [Note] InnoDB: Using Linux native AIO
2018-01-11T22:59:38.870055Z 0 [Note] InnoDB: Number of pools: 1
2018-01-11T22:59:38.871958Z 0 [Note] InnoDB: Using CPU crc32 instructions
2018-01-11T22:59:38.882695Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2018-01-11T22:59:38.904975Z 0 [Note] InnoDB: Completed initialization of buffer pool
2018-01-11T22:59:38.909339Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2018-01-11T22:59:38.946190Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2018-01-11T22:59:39.016312Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2018-01-11T22:59:39.016434Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2018-01-11T22:59:39.066565Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2018-01-11T22:59:39.067998Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2018-01-11T22:59:39.068030Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2018-01-11T22:59:39.071683Z 0 [Note] InnoDB: Waiting for purge to start
2018-01-11T22:59:39.121986Z 0 [Note] InnoDB: 5.7.20 started; log sequence number 18814190143
2018-01-11T22:59:39.124946Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2018-01-11T22:59:39.126798Z 0 [Note] Plugin 'FEDERATED' is disabled.
2018-01-11T22:59:39.127010Z 0 [ERROR] unknown option '--skip-locking'
2018-01-11T22:59:39.127025Z 0 [ERROR] Aborting

2018-01-11T22:59:39.127046Z 0 [Note] Binlog end
2018-01-11T22:59:39.127156Z 0 [Note] Shutting down plugin 'ngram'
2018-01-11T22:59:39.127174Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2018-01-11T22:59:39.127191Z 0 [Note] Shutting down plugin 'partition'
2018-01-11T22:59:39.127200Z 0 [Note] Shutting down plugin 'ARCHIVE'
2018-01-11T22:59:39.127209Z 0 [Note] Shutting down plugin 'MyISAM'
2018-01-11T22:59:39.130359Z 0 [Note] Shutting down plugin 'CSV'
2018-01-11T22:59:39.130397Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2018-01-11T22:59:39.130408Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2018-01-11T22:59:39.130417Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2018-01-11T22:59:39.130425Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2018-01-11T22:59:39.130434Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2018-01-11T22:59:39.130443Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2018-01-11T22:59:39.130451Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2018-01-11T22:59:39.130460Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2018-01-11T22:59:39.130468Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2018-01-11T22:59:39.130477Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2018-01-11T22:59:39.130486Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2018-01-11T22:59:39.130494Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2018-01-11T22:59:39.130503Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2018-01-11T22:59:39.130511Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2018-01-11T22:59:39.130519Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2018-01-11T22:59:39.130528Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2018-01-11T22:59:39.130536Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2018-01-11T22:59:39.130544Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2018-01-11T22:59:39.130553Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2018-01-11T22:59:39.130562Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2018-01-11T22:59:39.130570Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2018-01-11T22:59:39.130580Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2018-01-11T22:59:39.130588Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2018-01-11T22:59:39.130597Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2018-01-11T22:59:39.130607Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2018-01-11T22:59:39.130616Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2018-01-11T22:59:39.130625Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2018-01-11T22:59:39.130633Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2018-01-11T22:59:39.130642Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2018-01-11T22:59:39.130650Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2018-01-11T22:59:39.130659Z 0 [Note] Shutting down plugin 'InnoDB'
2018-01-11T22:59:39.130815Z 0 [Note] InnoDB: FTS optimize thread exiting.
2018-01-11T22:59:39.131239Z 0 [Note] InnoDB: Starting shutdown...
2018-01-11T22:59:39.131738Z 0 [Note] InnoDB: Buffer pool(s) load completed at 180111 23:59:39
2018-01-11T22:59:39.131812Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2018-01-11T22:59:39.134425Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 180111 23:59:39
2018-01-11T22:59:40.741487Z 0 [Note] InnoDB: Shutdown completed; log sequence number 18814190162
2018-01-11T22:59:40.744620Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2018-01-11T22:59:40.744669Z 0 [Note] Shutting down plugin 'MEMORY'
2018-01-11T22:59:40.744689Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2018-01-11T22:59:40.744705Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2018-01-11T22:59:40.744896Z 0 [Note] Shutting down plugin 'sha256_password'
2018-01-11T22:59:40.744913Z 0 [Note] Shutting down plugin 'mysql_native_password'
2018-01-11T22:59:40.745128Z 0 [Note] Shutting down plugin 'binlog'
2018-01-11T22:59:40.745510Z 0 [Note] /usr/sbin/mysqld: Shutdown complete


I don't really know what to do, any help please?

Thanks.

mysql cannot start (no replies)

$
0
0
Hi;

Recently mysql cannot start,it show below error? How to fix it?

2018-01-12T13:08:35.644019Z 1 [ERROR] Failed to find valid data directory.
2018-01-12T13:08:35.644317Z 0 [ERROR] Data Dictionary initialization failed.
2018-01-12T13:08:35.644380Z 0 [ERROR] Aborting

Pepperfeed | Top Trending News,Hot Stories and Viral Videos (no replies)

$
0
0
Pepperfeed is an Internet Media Company, started in November 2017 to serve spiced up content for diverse audiences, catering to their varied tastes.Our categories include celebrities, relationship, sports, bizarre, politics, spiritual, entertainment etc. The idea is to serve ‘created’ instead of ‘curated’ content. The difference is, Pepperfeed doesn’t rewrite the content already available on internet, but it ideates and creates the content which is nowhere available on the internet. As our tagline says ‘Stories Served Hot’ we believe in fresh out of the oven stories exclusively catered for the audience which believes in reading both the entertaining and the serious content in one go.
Pepperfeed’s content will include entertaining videos, stories, news, opinion pieces another creative stuff. In fact, we are a crowdsourcing platform where anyone can contribute their stuff, be it videos, articles, audio etc. We believe in giving the finest and most fresh content on the internet.
Media Companies are fast evolving and as a process, shifting to internet. We are one such step in the direction. We believe that content is the king and it should have the potential to go viral.
That’s why our content will be obsessed with quality.
In the ever evolving times, readers are looking for unique and interesting stories from where they can derive some take-home value. Pepperfeed makes sure that it creates valuable content for everyone, including varied genders. The website will also include content such as videos, quiz, polls, cartoons, comic strips etc. The idea here is to serve a new age online newspaper that entertains and informs at the same time.
Pepperfeed believes that content can change the perception of the people and that it should be served with responsibility. Because with great power, comes great responsibility.
It’s time to get ready for the spiced up stories, served hot.
Visit Pepperfeed for latest trending news and updates.

Shop Online Delhi for Battery, Inverters - ElectronicWale (no replies)

$
0
0
ElectronicWale is an online shopping website for products like Inverter battery, Carbattery, UPS Battery, Home UPS, Flat plate battery, Tubular battery, Solar, Solar Batteries, Ceiling Fans, Stabilizer and a lot more. We provideunique door to door delivery facilities to our customers with services like FREE Installation, Free Delivery & a quick service of on the spot or maximum in 4 hours’ time.
ElectronicWale directly deals with Major brands like Luminous, Exide, Microtek, Amaron,Livguard, Su-kam and SF Sonic to fulfill the demands of our customer and they get best andcheap price of their demanded products with maximum discount. We are offering up to 50-60%discounts on our few products. ElectronicWale is an authorized dealer of Inverter battery, Carbattery, UPS, Solar, Ceiling Fans, Stabilizer. We closely work with people’s demand and theirneeds.
ElectronicWale offer genuine and high warranty Inverter Batteries &Car Batteries so that customer can get 100%satisfaction with their needs of inverter batteries & Car batteries. We are proud to serveyou branded inverter batteries like Exide, Amaron, SF Sonic, Luminious, Sukam, and Microtekwith manufacturer’s warranty at cheapest price and free of cost delivery alongwith installationtoo.
ElectronicWale is India's best Online InverterBattery , Car battery, Home Ups, Solar store helping you to buy 100% Genuine Branded Car Batteries, Inverter Batteries .

We offer Best Prices with free Delivery and installation within 3 to 4 hrs. Our experttechnicians provide you complete knowledge and guidance. With our easy to use website, buying a product is very easy & convenient.

We have our major setup in Gurgaon and from Gurgaon we are delivering our products in Delhi,Gurgaon, Noida, Ghaziabad, Greater Noida, Manesar, Rewari, Palwal, Sohna, Nuh, Sonepatetc andall parts of Delhi/NCR. We will soon connect more cities as soon as possible.

MySQL Installation Error (1 reply)

$
0
0
I've been trying to install MySQL, but the installer keeps failing at "Starting Server".

Here is the log:





Beginning configuration step: Stopping Server [if necessary]
Ended configuration step: Stopping Server [if necessary]

Beginning configuration step: Writing configuration file
Ended configuration step: Writing configuration file

Beginning configuration step: Updating firewall
Adding firewall rule for MySQL57 on port 3306.
Successfully added firewall rule.
Ended configuration step: Updating firewall

Beginning configuration step: Adjusting Windows service [if necessary]
Attempting to grant Network Service require filesystem permissions.
Granted permissions.
Adding new service
New service added
Ended configuration step: Adjusting Windows service [if necessary]

Beginning configuration step: Initializing Database [if necessary]
Deleting Data folder shipped
Attempting to run MySQL Server with --Initialize-insecure
Running process: C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
Waiting for the server stops: C:\Program Files\MySQL\MySQL Server 5.7\bin\mysqld.exe --defaults-file="C:\ProgramData\MySQL\MySQL Server 5.7\my.ini" --initialize-insecure=on --console
2017-10-01T22:18:51.493425Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-10-01T22:18:51.493425Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2017-10-01T22:18:52.092389Z 0 [Warning] InnoDB: New log files created, LSN=45790
2017-10-01T22:18:52.229500Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2017-10-01T22:18:52.291577Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 8180312b-a6f6-11e7-ae68-54ab3ad2cd74.
2017-10-01T22:18:52.294083Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2017-10-01T22:18:52.655186Z 1 [Warning] root@localhost is created with an empty password ! Please consider switching off the --initialize-insecure option.
Finished initialize database
Ended configuration step: Initializing Database [if necessary]

Beginning configuration step: Starting Server
Starting MySQL as a service
Format of the initialization string does not conform to specification starting at index 68.
Ended configuration step: Starting Server

Problem with resetting forgotten root password (1 reply)

$
0
0
I have tried for hours to reset a forgotten root password to my newly installed mySQL on my mac.

Different things I've tried:
./mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

I get prompted for a password:
sudo mysql_safe --skip-grant-tables
Password:

I'm sorry, I'm new to mySQL so i don't know exactly what to ask. I've tried every video and instruction for hours to no avail. Please help :)

MySQL 5.7.21 for Mac OS X 10.13 (High Sierra) Preference Pane will not load (no replies)

$
0
0
I installed MySQL 5.7.21 on my Macbook Pro (Retina 15 inch mid-2015) running High Sierra (10.13.2). The install appears to proceed smoothly, but when I go to "System Preferences -> MySQL" I get the error message "Could not load MySQL Preferences Pane." I've tried clean uninstalls and reinstalls a couple of times to be sure there was no corrupt or conflicting file from a previous edition, but the error seems consistent.

Any insights? It does not appears on any current bug reports I could find.

What Installing Mysql Router on Ubuntu 17.10 artful (no replies)

$
0
0
I have installed MySQL APT Repository, I downloaded this file : "mysql-apt-config_0.8.9-1_all.deb"
and then run
> sudo dpkg -i mysql-apt-config_0.8.9-1_all.deb
> sudo apt-get update

But when i want to install mysql-router
> sudo apt-get install mysql-router
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package mysql-router

This is when a type "mysql-" :
> sudo apt-get install mysql-
mysql-apt-config mysql-community-client mysql-server mysql-testsuite mysql-workbench-data
mysql-client mysql-community-server mysql-server-5.7 mysql-testsuite-5.7
mysql-client-5.7 mysql-community-source mysql-server-core-5.7 mysql-utilities
mysql-client-core-5.7 mysql-community-test mysql-shell mysql-workbench
mysql-common mysql-sandbox mysql-source-5.7 mysql-workbench-community

Are there upgrade steps after yum upgrade ? (no replies)

$
0
0
Running MySql Community Edition on RedHat 7

After installing some time ago MySql has been upgraded automatically along with operating system updates

yum info mysql-community-server shows the latest version 5.7.21 installed, however the mysql command line interface shows:
Server version: 5.7.20-log MySQL Community Server (GPL)

Please could someone advise if we have missed something here.

MYSQL SSL powershell (no replies)

$
0
0
if mysql have ssl.
can i use powershell to connect it?
eg.
[void][system.reflection.Assembly]::LoadWithPartialName("MySql.Data")
$connStr ="server=localhost;port=3306;Persist Security Info=false;user id=username;pwd=password;"
$conn = New-Object MySql.Data.MySqlClient.MySqlConnection($connStr)

as i set mysql config (my.ini) for ssl and it cause the connection failed.
ssl-ca="C:/Program Files/MySQL/ca-cert.pem"
ssl-cert="C:/Program Files/MySQL/server-cert.pem"
ssl-key="C:/Program Files/MySQL/server-key.pem"

i take away this setting, and the above script is work. Thanks

mysql v:5.7 & 5.6

Unable to access MYSQL from Command line MAC OSX YOSEMITE 10.10.5, MYSQL 5.7.19(not first install) + (PHPMYADMIN) (no replies)

$
0
0
Hi,

(This is not my first install of MYSQL, maybe the 25th)

MYSQL seems to be in healthy condition with PHPmyAdmin. Works fine.

MYSQL from command line is prompting errors, such as listed below:

1)Command entered:
/usr/local/mysql/support-files/mysql.server restart

ERROR! MySQL server PID file could not be found!
Starting MySQL
./usr/local/mysql/bin/mysqld_safe: line 144: /usr/local/mysql/data/Martins-iMac.err: Permission denied
/usr/local/mysql/bin/mysqld_safe: line 144: /usr/local/mysql/data/Martins-iMac.err: Permission denied
/usr/local/mysql/bin/mysqld_safe: line 198: /usr/local/mysql/data/Martins-iMac.err: Permission denied
/usr/local/mysql/bin/mysqld_safe: line 144: /usr/local/mysql/data/Martins-iMac.err: Permission denied
ERROR! The server quit without updating PID file (/usr/local/mysql/data/Martins-iMac.pid).

Solution:
Gave access to the specified .err file.

2) /usr/local/mysql/support-files/mysql.server restart

cat: /usr/local/mysql/data/Martins-iMac.pid: Permission denied
ERROR! MySQL server process # is not running!
override rw-r----- _mysql/_mysql for /usr/local/mysql/data/Martins-iMac.pid? y
Starting MySQL
..................................................................................................... ERROR! The server quit without updating PID file (/usr/local/mysql/data/Martins-iMac.pid).

Aftermath:

PID file has vanished.

Full shutdown. No tears.

3) Computer is back on, PID file is present but this time it changes from Martins-iMac.pid to localhost.pid, not sure why the name change happens.

4)Last login: Tue Jan 30 12:45:41 on console
UNKNOWN:~ martintolmusk$ sudo /usr/local/mysql/support-files/mysql.server restart
Password:
ERROR! MySQL server PID file could not be found!
Starting MySQL
.Logging to '/usr/local/mysql/data/UNKNOWN.err'.
.................................................................................................... ERROR! The server quit without updating PID file (/usr/local/mysql/data/UNKNOWN.pid).

(No file as UNKNOWN.pid doesn’t exist in my data folder however UNKNOWN.err does)

*(In my preference pane I can see that MYSQL instance is running)

Have I got more than 1 instance running?

Sidenote: This is also present.

AutoStarting MySQL on Reboot
sudo nano /Library/LaunchDaemons/com.mysql.mysql.plist

<!--?xml version="1.0" encoding="UTF-8"?-->
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true />
<key>Label</key>
<string>com.mysql.mysqld</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/mysql/bin/mysqld_safe</string>
<string>--user=mysql</string>
</array>
</dict>
</plist>


6) UNKNOWN:~ martintolmusk$ mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Using MYSQL generated password

Also have tried my admin password without success.

UNKNOWN:~ martintolmusk$ mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)


UNKNOWN:~ martintolmusk$ mysql -u martintolmusk
ERROR 1045 (28000): Access denied for user 'martintolmusk'@'localhost' (using password: NO)
UNKNOWN:~ martintolmusk$ mysql -u martintolmusk -p
Enter password:
ERROR 1045 (28000): Access denied for user 'martintolmusk'@'localhost' (using password: YES)

7)UNKNOWN:support-files martintolmusk$ sudo /usr/local/mysql/support-files/mysql.server stop
ERROR! MySQL server PID file could not be found!

Cannot get past this stage to possibly try and alter the password.

HELP:

I have tried granting permissions of all kinds to all folders(not sure )

I would like for someone to help me with commands to use to initialise MYSQL with default settings, specifically altering the password on initial startup.
(Instructions have been given for Windows users on MYSQL reset password, although I am not sure if it’s simply to do with permissions)

Not sure how to create my.cnf file into /etc/ with the configuration that it knows where to find the PID file, unless it goes inside the /usr/local/mysql folder.

Hopefully there is enough information here for someone to understand my issue.

Please advise.

Kind regards,
Martin

MySQL installation - unable to update security settings (no replies)

$
0
0
I try to install MySQL and get the following error:

mysql-server-5.6-winx64:100 - Unable to update security settings. Unable to connect to any of the specified MySQL hosts.

MySQL Community version: 5.6.16
System: Windows 7 SP1

I'm logged in as administrator
Viewing all 7243 articles
Browse latest View live