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

mysql.gtid_executed table size control (no replies)

$
0
0
Hello, I'm learning how to use and manage GTID replication. I have a question on how to manage the size of MySQL.gtid_executed table. I know it can be compressed, but it will grow large regardless. Do I need to purge it periodically? Or there's a size limit for it so it rolls over automatically?

Please help. Thanks.
Ed.

How to move database macOS (no replies)

$
0
0
I am trying to move my database from my main hard drive to my home library folder on an external drive.

I am running a fresh installation of sierra 10.12.5 with a fresh installation of mysql 5.7.18 64bit.

I cannot move the database within mysql. I can physically move the database to another location, but I cannot get mysql to use it. I have gone through thousands of posts and links over the last couple of weeks and tried every single one to no avail and it would seem that all the 'advice' is from people that have never done it in sierra. The advice may work in windoze or Linux, but not under OSX.

Basically, mysql seems to ignore any "my.cnf" file in any location.

One would think this an easy task, but apparently not.

Installation stalls on Requirements Check (no replies)

$
0
0
Using MySQL Installer MSI -> freezes up on Check Requirements - MS Visual C++ 2013 runtime 64 bit not installed.
2013 is no longer available -> installed of 2015 = same results. Installed of 2010 = same results.

Attempted manual install -> get stuck at running mysqld at CMD line. I get, Program cannot start because MSVCR120.dll missing. -> did sfc /scannow no corrupt or missing files.

Is there a guide for using PDO (a current one, not from 8 yrs ago)? (no replies)

$
0
0
Also, can someone recommend a forum that doesn't harass users with so-called spam prevention codes. I can hardly read these and I'm not even a robot.

My question: Unfortunately a co-worker has switched the website to PDO instead of MYSQLI. I cannot get PDO to work on my localhost computer though so this causes development problems since I have to develop using mysqli but then place it on a PDO site. I could use some sort of guide to getting this to work. Oddly it works fine with CakePHP, but the site is CodeIgnitor 3.

Changing installation path of MySQL (no replies)

$
0
0
Greetings,

I need to install MySQL into '/mysql' folder instead of '/usr' onto HP-UX 11.31. For your information, the format for the MySQL that I downloaded was in depot files form. My question is how to change the installation path since MySQL already been prefixed to automatically installed onto '/usr'?

Thank you in advance for your reply.

Windows 10 Startup keeps reverting to Manual (no replies)

$
0
0
I have MySQL installed and running under Windows 10 as a localhost. I have repeatedly set the Startup Type in Services to Automatic, and it keeps reverting to Manual. Sometimes, it will revert to Manual on the very next startup, other times it will last for two or three reboots before reverting. I realize that this is likely a problem in the interface between Windows 10 and MySQL, but it's unlikely that Microsoft will even acknowledge the issue. Has anyone else encountered the issue and, if so, figured out a way to fix it?

Installing MySql Server 5.x on Win10 (x64) (no replies)

$
0
0
Hi,

I'm trying to install MySql Server 5.x (x86 or x64) on my note's Win10 (x64) and at the middle of the process, I receive this message:

'...no compatible servers were found...'

Can someone help?

How to stop InnoDB Sandbox Cluster (no replies)

$
0
0
Apparently I installed MySQL on my machine before. Well I uninstalled all components from the control panel and tried to install ver 5.7. I am in the InnoDB Sandbox Cluster Phase of the install and I am getting this message:
An existing InnoDB Sandbox Cluster seems to have been previously created. The sandbox cluster instances that are running need to be stopped for the configuration to be performed correctly.

How do I stop the InnoDB Sandbox Cluster?

ERROR 1045 (28000):Access denied for user 'root'@'localhost' (using password: YES) (no replies)

$
0
0
Hi everyone.


I'm Oracle DBA and new with MySql. I'm suffering a little bit with MySql.

So, help me please.

Look, last week I had installed the last version of MySql 5.7.18 on my linux server. I followed the documentation. The installation were fine and also the steps to secure installation using mysql_secure_installation.

So, today I went to login in mysql using command bellow I got the following error:

[root@inimysd01 ~]# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
[root@inimysd01 ~]#

I can't get the correct solution for this error until now. Could you show me where I'm wrong.

Or could you explain me the correct steps that I need to do.

Thank you very much.

Wander(Brazil)

Cannot start mysqld after fresh install (no replies)

$
0
0
2017-07-02T00:04:32.707310Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-07-02T00:04:32.708785Z 0 [Note] /usr/sbin/mysqld (mysqld 5.7.18) starting as process 2020 ...
2017-07-02T00:04:32.712794Z 0 [Note] InnoDB: PUNCH HOLE support available
2017-07-02T00:04:32.712840Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-07-02T00:04:32.712847Z 0 [Note] InnoDB: Uses event mutexes
2017-07-02T00:04:32.712852Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2017-07-02T00:04:32.712859Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-07-02T00:04:32.712864Z 0 [Note] InnoDB: Using Linux native AIO
2017-07-02T00:04:32.713049Z 0 [Note] InnoDB: Number of pools: 1
2017-07-02T00:04:32.713127Z 0 [Note] InnoDB: Using CPU crc32 instructions
2017-07-02T00:04:32.714569Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2017-07-02T00:04:32.721748Z 0 [Note] InnoDB: Completed initialization of buffer pool
2017-07-02T00:04:32.723091Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2017-07-02T00:04:32.734682Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2017-07-02T00:04:32.766045Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2017-07-02T00:04:32.766183Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2017-07-02T00:04:32.926628Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2017-07-02T00:04:32.929044Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2017-07-02T00:04:32.929087Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2017-07-02T00:04:32.931055Z 0 [Note] InnoDB: Waiting for purge to start
2017-07-02T00:04:32.981581Z 0 [Note] InnoDB: 5.7.18 started; log sequence number 1209987
2017-07-02T00:04:32.982037Z 0 [Note] Plugin 'FEDERATED' is disabled.
2017-07-02T00:04:32.985554Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2017-07-02T00:04:32.985817Z 0 [Note] InnoDB: Buffer pool(s) load completed at 170702 7:04:32
2017-07-02T00:04:32.988557Z 0 [Warning] System table 'plugin' is expected to be transactional.
2017-07-02T00:04:32.989412Z 0 [Warning] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2017-07-02T00:04:32.989526Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2017-07-02T00:04:32.990068Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2017-07-02T00:04:32.990345Z 0 [Note] IPv6 is available.
2017-07-02T00:04:32.990421Z 0 [Note] - '::' resolves to '::';
2017-07-02T00:04:32.990449Z 0 [Note] Server socket created on IP: '::'.
2017-07-02T00:04:33.002078Z 0 [Warning] Failed to open optimizer cost constant tables

2017-07-02T00:04:33.002708Z 0 [ERROR] Fatal error: mysql.user table is damaged. Please run mysql_upgrade.
2017-07-02T00:04:33.002818Z 0 [ERROR] Aborting

2017-07-02T00:04:33.002926Z 0 [Note] Binlog end
2017-07-02T00:04:33.003017Z 0 [Note] Shutting down plugin 'ngram'
2017-07-02T00:04:33.003031Z 0 [Note] Shutting down plugin 'ARCHIVE'
2017-07-02T00:04:33.003039Z 0 [Note] Shutting down plugin 'partition'
2017-07-02T00:04:33.003045Z 0 [Note] Shutting down plugin 'BLACKHOLE'
2017-07-02T00:04:33.003052Z 0 [Note] Shutting down plugin 'MyISAM'
2017-07-02T00:04:33.003066Z 0 [Note] Shutting down plugin 'CSV'
2017-07-02T00:04:33.003074Z 0 [Note] Shutting down plugin 'INNODB_SYS_VIRTUAL'
2017-07-02T00:04:33.003081Z 0 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2017-07-02T00:04:33.003087Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2017-07-02T00:04:33.003093Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2017-07-02T00:04:33.003100Z 0 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2017-07-02T00:04:33.003106Z 0 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2017-07-02T00:04:33.003119Z 0 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2017-07-02T00:04:33.003126Z 0 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2017-07-02T00:04:33.003132Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2017-07-02T00:04:33.003138Z 0 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2017-07-02T00:04:33.003144Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2017-07-02T00:04:33.003150Z 0 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2017-07-02T00:04:33.003157Z 0 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2017-07-02T00:04:33.003163Z 0 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2017-07-02T00:04:33.003169Z 0 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2017-07-02T00:04:33.003175Z 0 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2017-07-02T00:04:33.003181Z 0 [Note] Shutting down plugin 'INNODB_METRICS'
2017-07-02T00:04:33.003187Z 0 [Note] Shutting down plugin 'INNODB_TEMP_TABLE_INFO'
2017-07-02T00:04:33.003193Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2017-07-02T00:04:33.003199Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2017-07-02T00:04:33.003205Z 0 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2017-07-02T00:04:33.003212Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2017-07-02T00:04:33.003218Z 0 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2017-07-02T00:04:33.003224Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2017-07-02T00:04:33.003230Z 0 [Note] Shutting down plugin 'INNODB_CMPMEM'
2017-07-02T00:04:33.003236Z 0 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2017-07-02T00:04:33.003242Z 0 [Note] Shutting down plugin 'INNODB_CMP'
2017-07-02T00:04:33.003248Z 0 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2017-07-02T00:04:33.003254Z 0 [Note] Shutting down plugin 'INNODB_LOCKS'
2017-07-02T00:04:33.003260Z 0 [Note] Shutting down plugin 'INNODB_TRX'
2017-07-02T00:04:33.003266Z 0 [Note] Shutting down plugin 'InnoDB'
2017-07-02T00:04:33.003421Z 0 [Note] InnoDB: FTS optimize thread exiting.
2017-07-02T00:04:33.003555Z 0 [Note] InnoDB: Starting shutdown...
2017-07-02T00:04:33.104580Z 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2017-07-02T00:04:33.104993Z 0 [Note] InnoDB: Buffer pool(s) dump completed at 170702 7:04:33
2017-07-02T00:04:34.625463Z 0 [Note] InnoDB: Shutdown completed; log sequence number 1210006
2017-07-02T00:04:34.628103Z 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2017-07-02T00:04:34.628127Z 0 [Note] Shutting down plugin 'MEMORY'
2017-07-02T00:04:34.628141Z 0 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2017-07-02T00:04:34.628250Z 0 [Note] Shutting down plugin 'MRG_MYISAM'
2017-07-02T00:04:34.628261Z 0 [Note] Shutting down plugin 'sha256_password'
2017-07-02T00:04:34.628268Z 0 [Note] Shutting down plugin 'mysql_native_password'
2017-07-02T00:04:34.628462Z 0 [Note] Shutting down plugin 'binlog'
2017-07-02T00:04:34.628688Z 0 [Note] /usr/sbin/mysqld: Shutdown complete

MySQL 5.7.16 lost root privileges (1 reply)

$
0
0
i have a strange issue on a web server (Windows Server 2012) with MySQL 5.7.16. Root lost privileges, i don't know why.

If i type mysql -uroot -ppassword appear an error (root@127.0.01) Access Denied using password YES

I tried to use another user with all privileges and i've seen that in host there is only localhost (not 127.0.0.1)


How can i login with root@localhost and not with root@127.0.0.1? It's very frustrating... Every account trying to use @127.0.0.1 or @::1 but there exist only localhost in host and i can't change it.


So i don't know how to fix it.

Problem with MySQL in the terminal (1 reply)

$
0
0
Hi,

This is the first time I install MySQL and when I tried to enter by the Terminal. I just type this "/usr/local/mysql/bin/mysql –u root –p". Normally, I think it supposed to ask me my password. This is what appeared. Thanks in advance for the answer.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Usage: /usr/local/mysql/bin/mysql [OPTIONS] [database]
-?, --help Display this help and exit.
-I, --help Synonym for -?
--auto-rehash Enable automatic rehashing. One doesn't need to use
'rehash' to get table and field completion, but startup
and reconnecting may take a longer time. Disable with
--disable-auto-rehash.
(Defaults to on; use --skip-auto-rehash to disable.)
-A, --no-auto-rehash
No automatic rehashing. One has to use 'rehash' to get
table and field completion. This gives a quicker start of
mysql and disables rehashing on reconnect.
--auto-vertical-output
Automatically switch to vertical output mode if the
result is wider than the terminal width.
-B, --batch Don't use history file. Disable interactive behavior.
(Enables --silent.)
--bind-address=name IP address to bind to.
--character-sets-dir=name
Directory for character set files.
--column-type-info Display column type information.
-c, --comments Preserve comments. Send comments to the server. The
default is --skip-comments (discard comments), enable
with --comments.
-C, --compress Use compression in server/client protocol.
-#, --debug[=#] This is a non-debug version. Catch this and exit.
--debug-check This is a non-debug version. Catch this and exit.
-T, --debug-info This is a non-debug version. Catch this and exit.
-D, --database=name Database to use.
--default-character-set=name
Set the default character set.
--delimiter=name Delimiter to be used.
--enable-cleartext-plugin
Enable/disable the clear text authentication plugin.
-e, --execute=name Execute command and quit. (Disables --force and history
file.)
-E, --vertical Print the output of a query (rows) vertically.
-f, --force Continue even if we get an SQL error.
--histignore=name A colon-separated list of patterns to keep statements
from getting logged into syslog and mysql history.
-G, --named-commands
Enable named commands. Named commands mean this program's
internal commands; see mysql> help . When enabled, the
named commands can be used from any line of the query,
otherwise only from the first line, before an enter.
Disable with --disable-named-commands. This option is
disabled by default.
-i, --ignore-spaces Ignore space after function names.
--init-command=name SQL Command to execute when connecting to MySQL server.
Will automatically be re-executed when reconnecting.
--local-infile Enable/disable LOAD DATA LOCAL INFILE.
-b, --no-beep Turn off beep on error.
-h, --host=name Connect to host.
-H, --html Produce HTML output.
-X, --xml Produce XML output.
--line-numbers Write line numbers for errors.
(Defaults to on; use --skip-line-numbers to disable.)
-L, --skip-line-numbers
Don't write line number for errors.
-n, --unbuffered Flush buffer after each query.
--column-names Write column names in results.
(Defaults to on; use --skip-column-names to disable.)
-N, --skip-column-names
Don't write column names in results.
--sigint-ignore Ignore SIGINT (CTRL-C).
-o, --one-database Ignore statements except those that occur while the
default database is the one named at the command line.
--pager[=name] Pager to use to display results. If you don't supply an
option, the default pager is taken from your ENV variable
PAGER. Valid pagers are less, more, cat [> filename],
etc. See interactive help (\h) also. This option does not
work in batch mode. Disable with --disable-pager. This
option is disabled by default.
-p, --password[=name]
Password to use when connecting to server. If password is
not given it's asked from the tty.
-P, --port=# Port number to use for connection or 0 for default to, in
order of preference, my.cnf, $MYSQL_TCP_PORT,
/etc/services, built-in default (3306).
--prompt=name Set the mysql prompt to this value.
--protocol=name The protocol to use for connection (tcp, socket, pipe,
memory).
-q, --quick Don't cache result, print it row by row. This may slow
down the server if the output is suspended. Doesn't use
history file.
-r, --raw Write fields without conversion. Used with --batch.
--reconnect Reconnect if the connection is lost. Disable with
--disable-reconnect. This option is enabled by default.
(Defaults to on; use --skip-reconnect to disable.)
-s, --silent Be more silent. Print results with a tab as separator,
each row on new line.
-S, --socket=name The socket file to use for connection.
--ssl-mode=name SSL connection mode.
--ssl Deprecated. Use --ssl-mode instead.
(Defaults to on; use --skip-ssl to disable.)
--ssl-verify-server-cert
Deprecated. Use --ssl-mode=VERIFY_IDENTITY instead.
--ssl-ca=name CA file in PEM format.
--ssl-capath=name CA directory.
--ssl-cert=name X509 cert in PEM format.
--ssl-cipher=name SSL cipher to use.
--ssl-key=name X509 key in PEM format.
--ssl-crl=name Certificate revocation list.
--ssl-crlpath=name Certificate revocation list path.
--tls-version=name TLS version to use, permitted values are: TLSv1, TLSv1.1
-t, --table Output in table format.
--tee=name Append everything into outfile. See interactive help (\h)
also. Does not work in batch mode. Disable with
--disable-tee. This option is disabled by default.
-u, --user=name User for login if not current user.
-U, --safe-updates Only allow UPDATE and DELETE that uses keys.
-U, --i-am-a-dummy Synonym for option --safe-updates, -U.
-v, --verbose Write more. (-v -v -v gives the table output format).
-V, --version Output version information and exit.
-w, --wait Wait and retry if connection is down.
--connect-timeout=# Number of seconds before connection timeout.
--max-allowed-packet=#
The maximum packet length to send to or receive from
server.
--net-buffer-length=#
The buffer size for TCP/IP and socket communication.
--select-limit=# Automatic limit for SELECT when using --safe-updates.
--max-join-size=# Automatic limit for rows in a join when using
--safe-updates.
--secure-auth Refuse client connecting to server if it uses old
(pre-4.1.1) protocol. Deprecated. Always TRUE
--server-arg=name Send embedded server this as a parameter.
--show-warnings Show warnings after every statement.
-j, --syslog Log filtered interactive commands to syslog. Filtering of
commands depends on the patterns supplied via histignore
option besides the default patterns.
--plugin-dir=name Directory for client-side plugins.
--default-auth=name Default authentication client-side plugin to use.
--binary-mode By default, ASCII '\0' is disallowed and '\r\n' is
translated to '\n'. This switch turns off both features,
and also turns off parsing of all clientcommands except
\C and DELIMITER, in non-interactive mode (for input
piped to mysql or loaded using the 'source' command).
This is necessary when processing output from mysqlbinlog
that may contain blobs.
--connect-expired-password
Notify the server that this client is prepared to handle
expired password sandbox mode.

Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf /usr/local/mysql/etc/my.cnf ~/.my.cnf
The following groups are read: mysql client
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit.
--no-defaults Don't read default options from any option file,
except for login file.
--defaults-file=# Only read default options from the given file #.
--defaults-extra-file=# Read this file after the global files are read.
--defaults-group-suffix=#
Also read groups with concat(group, suffix)
--login-path=# Read this path from the login file.

Variables (--variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options)
--------------------------------- ----------------------------------------
auto-rehash TRUE
auto-vertical-output FALSE
bind-address (No default value)
character-sets-dir (No default value)
column-type-info FALSE
comments FALSE
compress FALSE
database (No default value)
default-character-set auto
delimiter ;
enable-cleartext-plugin FALSE
vertical FALSE
force FALSE
histignore (No default value)
named-commands FALSE
ignore-spaces FALSE
init-command (No default value)
local-infile FALSE
no-beep FALSE
host (No default value)
html FALSE
xml FALSE
line-numbers TRUE
unbuffered FALSE
column-names TRUE
sigint-ignore FALSE
port 0
prompt mysql>
quick FALSE
raw FALSE
reconnect TRUE
socket (No default value)
ssl TRUE
ssl-verify-server-cert FALSE
ssl-ca (No default value)
ssl-capath (No default value)
ssl-cert (No default value)
ssl-cipher (No default value)
ssl-key (No default value)
ssl-crl (No default value)
ssl-crlpath (No default value)
tls-version (No default value)
table FALSE
user (No default value)
safe-updates FALSE
i-am-a-dummy FALSE
connect-timeout 0
max-allowed-packet 16777216
net-buffer-length 16384
select-limit 1000
max-join-size 1000000
secure-auth TRUE
show-warnings FALSE
plugin-dir (No default value)
default-auth (No default value)
binary-mode FALSE
connect-expired-password FALSE

on Windows 10 Mysql 5.7: Mysqld command fails. Can't find \data directory (no replies)

$
0
0
I reset password root. error on issuing mysqld command from windows command line. Just installed 5.7 server on Windows 10. Following error message received. Any suggestions?

mysqld: Can't change dir to 'C:\program files\MySQL\MySQL Server 5.7\data\' (error code: 2 - no such file or directory)

problem installing community edition (no replies)

$
0
0
I have tried to download the community edition. Unsuccessful with following message:
No compatible servers were found. You'll need to cancel this wizard and install one.
Where would I find a compatible server and how would I download it.
Windows 10 OS.

if I receive the reply, thanks in advance.

Mysql not starting (1 reply)

$
0
0
Dears,

This my first Questions here, i am trying connect with MySql DB from cpanel But i get the error below:

Error while connecting to MySQL: (XID 2en3td) The system failed to connect to the “MySQL” database “mysql” because of an error: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)) Error while connecting to MySQL: (XID 2en3td) The system failed to connect to the “MySQL” database “mysql” because of an error: CR_CONNECTION_ERROR (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)) at /usr/local/cpanel/Cpanel/Mysql.pm line 164.

Please advise

Import a DB into the latest MySQL (no replies)

$
0
0
First of all, I am a Linux administrator with a very strong network engineering background, so I am not even a MySQL newbie.

I have a database that was created under MySQL 5.5.34 Community Edition. I need to have the server upgraded to the latest MySQL. Is it possible to take the exported database and import it into a MySQL server running the latest version?

Respectfully,

James

Installation problem (no replies)

$
0
0
I try to install MySql. ( I have already XAMPP). I do the installation process however at some point it says "NO compatible servers were found. You ll need to cancel this wizard and istall one."

Any help please?
Thank you!

upgrade to 5.7 version fails (no replies)

$
0
0
Update rejected with details below, both before and after visual studio 2013 redistributable repaired - suggestions?

Action 14:25:36: INSTALL.
1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A}
Action 14:25:36: FindRelatedProducts. Searching for related applications
Action 14:25:36: AppSearch. Searching for installed applications
Action 14:25:36: LaunchConditions. Evaluating launch conditions
This application requires Visual Studio 2013 Redistributable. Please install the Redistributable then run this installer again.
1: MySQL Server 5.7 2: {F08E9C75-A42E-4962-8760-4CBD9CF35D7A} 3: 3

MySQL Installer reports upgrade to 5.7.18 (X64) available; Upgrade chosen; MySQL Server upgrade to 5.7.19 (X64) selected; reports ready to upgrade; execute results in failed notification and the details message above.
Thank you for your assistance.
nvsoar 22Jul17

Misleading error when installing without Visual C++ 2013 Runtime (no replies)

$
0
0
Once again I wanted to install MySQL on another computer with Win7 64bit.

I downloaded the most recent *.zip archive of the community server and extracted it. Much to my surprise I could not start it. Even a simple "mysqld.exe -version" call was rejected with an error prompt:

"The application was unable to start correctly (0x000007b). Click OK to close application."

So what?

No further information was given. Even event log shows no hint.

After comprehensive investigations I found out that the
Visual C++ Redistributable Packages for Visual Studio 2013 64bit
was missing. After installation it works.

The MySQL error however is absolutely useless and misleading.

There should be a self-check at startup and a meaningful error message if the Visual C++ lib is not available on the current computer.

Michael Haertfelder

After install, how to retrieve the root temporary password (no replies)

$
0
0
Hi,

I installed MySQL 5.7.19 (yum install) on my RHEL 6 server.
I followed the instructions from this page:
https://dev.mysql.com/doc/refman/5.7/en/linux-installation-yum-repo.html

At step 4 - Checking the temporary password "shell> sudo grep 'temporary password' /var/log/mysqld.log", i'm blocked as there's no line saying that there's a temporary password.

Here is the log after having installed and run MySQL server (port 3306 has well arised)

[root@lyon log]# view mysqld.log
2017-07-25T13:19:55.307408Z 0 [Note] InnoDB: PUNCH HOLE support available
2017-07-25T13:19:55.307458Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-07-25T13:19:55.307474Z 0 [Note] InnoDB: Uses event mutexes
2017-07-25T13:19:55.307489Z 0 [Note] InnoDB: GCC builtin __sync_synchronize() is used for memory barrier
2017-07-25T13:19:55.307500Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-07-25T13:19:55.307511Z 0 [Note] InnoDB: Using Linux native AIO
2017-07-25T13:19:55.308082Z 0 [Note] InnoDB: Number of pools: 1
2017-07-25T13:19:55.308298Z 0 [Note] InnoDB: Using CPU crc32 instructions
2017-07-25T13:19:55.311736Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2017-07-25T13:19:55.327422Z 0 [Note] InnoDB: Completed initialization of buffer pool
2017-07-25T13:19:55.331679Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2017-07-25T13:19:55.345930Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2017-07-25T13:19:55.365360Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2017-07-25T13:19:55.365696Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2017-07-25T13:19:55.435456Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2017-07-25T13:19:55.439160Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2017-07-25T13:19:55.439199Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2017-07-25T13:19:55.441703Z 0 [Note] InnoDB: Waiting for purge to start
2017-07-25T13:19:55.492148Z 0 [Note] InnoDB: 5.7.19 started; log sequence number 2535993
2017-07-25T13:19:55.494851Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2017-07-25T13:19:55.495496Z 0 [Note] Plugin 'FEDERATED' is disabled.
2017-07-25T13:19:55.498214Z 0 [Note] InnoDB: Buffer pool(s) load completed at 170725 15:19:55
2017-07-25T13:19:55.506356Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2017-07-25T13:19:55.506769Z 0 [Warning] CA certificate ca.pem is self signed.
2017-07-25T13:19:55.510063Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2017-07-25T13:19:55.510945Z 0 [Note] IPv6 is available.
2017-07-25T13:19:55.511011Z 0 [Note] - '::' resolves to '::';
2017-07-25T13:19:55.511069Z 0 [Note] Server socket created on IP: '::'.
2017-07-25T13:19:55.533511Z 0 [Note] Event Scheduler: Loaded 0 events
2017-07-25T13:19:55.533959Z 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '5.7.19' socket: '/var/lib/mysql/mysql.sock' port: 3306 MySQL Community Server (GPL)
2017-07-25T13:19:55.534013Z 0 [Note] Executing 'SELECT * FROM INFORMATION_SCHEMA.TABLES;' to get a list of tables using the deprecated partition engine. You may use the startup option '--disable-partition-engine-check' to skip this check.
2017-07-25T13:19:55.534022Z 0 [Note] Beginning of list of non-natively partitioned tables
2017-07-25T13:19:55.559179Z 0 [Note] End of list of non-natively partitioned tables
2017-07-25T13:19:55.804357Z 3 [Note] Access denied for user 'UNKNOWN_MYSQL_USER'@'localhost' (using password: NO)

so i thought that root user came without any password and i tried to enter mysql or mysqladmin (mysql -uroot) and i still got the message:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Please, could tell me what's wrong ?
Any idea on where should I look at ?

Jean-Louis Matéo
Viewing all 7170 articles
Browse latest View live




Latest Images