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

MySQL57 stopped accepting remote connection with no apparent changes (no replies)

$
0
0
I have a MySQL57 server running on Windows 7 professional. I have it setup to accept remove connections. It was accepting remote connections without issue since I set it up (few weeks ago). Out of nowhere, it stopped accepting remote connections. Local connection still work. I made no changes to any configuration (to my knowlege). I didn't even attempt to make any unrelated changes to the configuration. The only thing that I suspect could have possibly changed something is that since MySQL57 there is some sort of command prompt update that appears from time to time. Not entirely sure what it does but I have always selected 'No' when it appears.

I have bind-address and skip-networking still commented out in my.ini
There are no errors in any log files
I checked windows firewall. The port should still accept inbound connections.
The user I try connecting with has the proper permissions (%)
I tried the obligatory computer restart as well as just MySQL restart

Any ideas?

Thanks,
Ryan

Long_query_time is resetting itself (no replies)

$
0
0
Hi,

Can any please help me out on the Long_query_time.

I am changing the value of Long_query_time from 0.0010 to 30.0000. Its working fine for couple of days and then again it is resetting automatically back to 0.0010.

I made this change as global not as sessions.

Can any one please help me on this.

Thanks.

How to yum install an old specific version like 5.6.22 (no replies)

$
0
0
I want to use yum to install an old specific version.
I use mysql-community-release-el6-5.noarch.rpm as repo.
[mysql56-community]
name=MySQL 5.6 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.6-community/el/6/$basearch/
enabled=1
gpgcheck=1
gpgkey=file:/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql

But I only can list the latest 5.6.24 version.

I use 'yum list mysql-community-\*-5.6.22\*'

Loaded plugins: priorities, update-motd, upgrade-helper
4 packages excluded due to repository priority protections
Available Packages
mysql-community-bench.x86_64 5.6.22-2.el6 mysql56-community
mysql-community-client.i686 5.6.22-2.el6 mysql56-community
mysql-community-common.i686 5.6.22-2.el6 mysql56-community
mysql-community-devel.i686 5.6.22-2.el6 mysql56-community
mysql-community-devel.x86_64 5.6.22-2.el6 mysql56-community
mysql-community-embedded.i686 5.6.22-2.el6 mysql56-community
mysql-community-embedded.x86_64 5.6.22-2.el6 mysql56-community
mysql-community-embedded-devel.i686 5.6.22-2.el6 mysql56-community
mysql-community-embedded-devel.x86_64 5.6.22-2.el6 mysql56-community
mysql-community-libs.i686 5.6.22-2.el6 mysql56-community
mysql-community-libs-compat.i686 5.6.22-2.el6 mysql56-community
mysql-community-libs-compat.x86_64 5.6.22-2.el6 mysql56-community
mysql-community-test.x86_64 5.6.22-2.el6 mysql56-community

no server rpm could be list out, and the client only shows i686

But from http://repo.mysql.com/yum/mysql-5.6-community/el/6/x86_64/, I can see all 5.6.22 rpms includes server and client which are x84_64.

Is this means yum install not supports to install the old specific version. Can only down the rpms files from mysql website?

Cannot Connect After Install (no replies)

$
0
0
I had an older install of MySQL 5.6 that I had not used in a while. I tried to connect from MySQL Workbench using the root user ID and could not.

I completely uninstalled MySQL, removed any MySQL directories that were not removed by the uninstall (e.g. data), downloaded MySQL 5.6.25.0 and reinstalled. During the install, on the security config step I received the following error:

Beginning configuration step: Applying security settings
Attempting to update security settings.
Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed with message: Access denied for user 'root'@'localhost' (using password: NO)
Ended configuration step: Applying security settings

I finished the install and the Windows service was running. I tried to connect form MySQL Workbench again and was not able to connect.

I found some instructions about resetting the root password. I created a text file with the following:
SET PASSWORD FOR 'root'@'localhost' = PASSWORD('Geology')

Then I stopped the MySQL Windows service and started MySQL from the command line with the following:
mysqld --init-file=C:\\mysql-init.txt

The file in the command line contains the password reset command (shown above).

When I attempt to connect with MySQL Workbench after the command line start I have no problem, I'm not even prompted for the root password.

Can someone tell me what is going on?

Anything special needed in 5.7 to use JSON data? (no replies)

$
0
0
Hi,

I've installed the "milestone" 5.7 Windows version from the installer in order to start working directly with JSON data. However, any attempt to issue an instruction related to JSON results in a syntax error. Example:

CREATE TABLE table1 (data JSON);

Results in an error. The on line docs seem to indicate that I might have to add functions or manually compile code to use the JSON data type. Problem is, it's difficult to tell from the docs what is current and what is "old news."

I would appreciate someone pointing me in the right direction. I'm not new to MySQL, but I don't often have to do such a major update. 5.7 seems to run fine, but this JSON data type has me frustrated.

Thanks
JS

how to start mysql (1 reply)

$
0
0
Hi,
I can't to start mysql.
I tried on Debian
/etc/init.d/mysql start
service mysql start

All replied FAIL.

/var/log/syslog is :
Jun 10 09:37:10 ns4005543 /etc/init.d/mysql[14917]: 1 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Jun 10 09:37:10 ns4005543 /etc/init.d/mysql[14917]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed
Jun 10 09:37:10 ns4005543 /etc/init.d/mysql[14917]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Jun 10 09:37:10 ns4005543 /etc/init.d/mysql[14917]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
Jun 10 09:37:10 ns4005543 /etc/init.d/mysql[14917]:

And /etc/mysql/debian.cnf
# Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host = localhost
user = debian-sys-maint
password = passwordrandom
socket = /var/run/mysqld/mysqld.sock
[mysql_upgrade]
host = localhost
user = debian-sys-maint
password = passwordrandom
socket = /var/run/mysqld/mysqld.sock
basedir = /usr

How to fix it?

Weird problem with DNS lookup on Windows (no replies)

$
0
0
Hello,
I have a very weird problem. I'm always running the last version of Mysql/MAriaDB in a Fedora server (also with always the last version) and since the last upgrade to Fedora 21. I have 4 PCs in house and I have a problem in 1 on them. I have an external web hosting with GoDaddy, with several domains. When MySQL is running on the server, this PC with Windows 7/32 can't access to any of my domains. This is for any service (mail, httpd, ...) and I always have an error (timeout, can't resolve, ...) trying to resolve the domain. For example, MySQL running on the server, this PC (inside the same local network of course) can't navigate on one of my website on GoDaddy. The only way to get it works again is to stop the MySQL service in my local server. I know it sounds strange and weird but I'm really sure of that. I'm using Google DNS (4.4.4.4/8.8.4.4) but it's the same with any others. All the other PCs don't have any problem. I tried to change the connexion between the local server and this PC (wired, trhough a switch, directly on the modem, by wifi) but it's the same. I tried of course with the "skip-name-resolve" parameter in my local server but the problem continues, of course. The DNS lookup problem only affects 1 PC and only with my domains. It's ok for any other domain, and in any other PC in my house.
The only way I have to resolve this problem now is to stop the MySQL service in my local server when this PC needs to connect (browsing, sending/receiving emails) to my domains! Once it's stopped, 20-30 sec. after the PC can resolve again the domains!
Do you have any idea?
Thank you very much for any help.

Restore DB problem (no replies)

$
0
0
Good afternoon,

I have made a copy of the folder where MSSQL database was saved. I have reïnstalled Windows and I'm trying to restore it, but it looks like it's not that simple. Do anyone have a guide for this ?

If I go to SQL Server Management Studio I can import, but only a specific backup file and not if you just have a backuped folder.

Thank you !!!

Windows Failover Cluster failing (1 reply)

$
0
0
I have two Windows Server 2012 R2 servers and I'm trying to set up a failover cluster.

I followed this guide:
https://www.mysql.com/why-mysql/white-papers/mysql-with-windows-server-2008-r2-failover-clustering/

I have MySQL 5.6 installed as a service on both machines. Both machines can access the shared storage. The cluster validation passes all tests.

The service runs fine on Node 1, but when I try to fail over to Node 2 it says it's successful (Failover Cluster manager shows it running, MySQL service says it's running) but the MySQL database is not reachable. Can't connect with applications or workbench.

When I fail back over to Node 1 it begins working again.

I'm not sure which logs to check at this point; my knowledge of MYSQL is limited.

I tried disabling the firewall to see if it was just a connection issue. No luck.

One thing I noticed is that Node 1 has about 20GB of stuff in the C:\Programdata\mysql folder that Node 2 doesn't have. Not sure if that's related.

Anyone have any ideas?

MySQL Installer 1.4 Error (no replies)

$
0
0
I'm upgrading from the Community Edition to Enterprise using the Windows Installer. I have tried upgrading in place and uninstalling the CE first. Either way I get the error below. I also tried using the unzip and copy method but then it wont show in the installer for future upgrades. I tried uninstalling and reinstalling several times. Any ideas? Registry issues? I reproduced this error on 2 different machines with fresh installer downloads.

---------------------------
Error
---------------------------
Internal error. (Your installation appears to be damaged. You should uninstall and reinstall MySQL Installer for Windows.) The installer will now close.

Issue in mysql 5.5.44 installation (no replies)

$
0
0
Hi

I have installed mysql 5.5.44 in redhat server But unable to start the mysqld service. Alos the mysqld service not in the /etc/init.d folder itself

MySQL-shared-compat-5.5.44-1.el6.x86_64
MySQL-embedded-5.5.44-1.el6.x86_64
MySQL-devel-5.5.44-1.el6.x86_64
MySQL-shared-5.5.44-1.el6.x86_64
MySQL-server-5.5.44-1.el6.x86_64
MySQL-test-5.5.44-1.el6.x86_64
MySQL-client-5.5.44-1.el6.x86_64

Please help us to resolve this issue

Database mirroring (1 reply)

$
0
0
I'm using MySQL on a raspberry pi Model B2 and have connected two 16 GB usb sticks to it. What I'd like to do is have mySQL write new entries to both drives such that if one of them is corrupted the other one should be okay. I've thought about doing a software RAID, but I don't want to potentially loose the RAID if I ever have to re-image the SD card, and using mirroring I worry that it might copy a corrupted sector over and mess up the second stick.

Same story with doing rsync, I'm worried that in the event that the data is corrupted on the master directory, I'll copy that corruption to the seconday stick.

Is there a way to replicate the database on the same host between two non-raided "drives"? Alternitively, do I have a faulty understanding of how rsync works such that I wouldn't have to worry about copying corrupted files?

Migra (no replies)

$
0
0
mysql 5.5.x on SLES 12. We need to decommission a server that runs mysql 5.5.x to another server that runs 5.5.x (less than 10 DB's). I read somehwhere on here that you copy the DB's from old to new server, start mysql and that was all you needed to do. In fact, i can view the DB's inside mysql and i can see the tables inside the DB. But this seems "to easy". I want to check here and see if that is the correct way to migrate mysql from 1 server to another server?

mysql will not start, myslq.sock is missing (no replies)

$
0
0
Centos 7 mysql

everything was working fine until server needed hard reboot.

when I try to login into myslq I get this error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

mysql.sock is missing and doesn't exist on the server?

MySQL Development versus Client's Server setup (no replies)

$
0
0
Not being a MySQL admin, I am not sure how to approach this.

I am starting with a client tomorrow who is using MySQL as the back-end and Visual FoxPro as the front-end. I have a copy of the database on my desktop and the client has one also.

1. Database Differences:
How do I determine the differences between what I have and what the client has in the database structure, being these are the same database, at least in name? I expect that mostly everything is the same (meaning fields, keys, indexes) , but I cannot be 100% sure of this without first checking. I don't want to have to go through 74 tables on my desktop and the client's server to determine this. Is there a tool which would reveal the differences?

2. Production Database:
For additional clients using the same database, how do I keep an updated database that is separate from the development database, that would be ready to install on the client's site, since I cannot have two databases with the same name? Do I have to put one database for production on another computer and use that one solely for production, and then another database, same name, on my desktop solely for development?

I hope I am explaining these situations clearly enough.

Problem starting MySQL under Mac OSX 10.8 (no replies)

$
0
0
I've installed the MySQL 5.6.25 from the DMG on my iMac running OSX 10.8.5. I run the command:

sudo /usr/local/mysql/support-files/mysql.server start

and get the erroe message:

.. ERROR! The server quit without updating PID file (/usr/local/mysql/data/Michael-Holmess-iMac.local.pid).

Any idea what I need to do to get it running?

Thanks!

Configuring MySQL in VPS (no replies)

$
0
0
Hy,

I have a VPS(Ubuntu) with a friend. Both of us have root access to it and each one a user account.

I wan't to install a MySQL server to run some databases, but I don't want him to have access to my databases.

What's the best approach for this case? Considering that probably he would want to have some databases for him.

I don't have much knowledge at installing/configuring mysql.

Thanks!

MySql - Installation on Windows 2008 Server (no replies)

$
0
0
Hi,
Facing problem to install MySQL 5.5 / 5.6 on Windows Server 2008, getting error "Access Denied" when I run from Command Shell / prompt. Tried this from remote desktop session.
Any suggestions/Solution? No Antivirus / No Firewall running.
Thanks

Startup Item is not installed :( (no replies)

$
0
0
Hello!
After installing the MySQL Workbench I tried to install MySQL Community Server 10.8 on my Mac 10.10.
It seems that it was successful but when I try to find the MySQL StartupItem in the System preferences, it is not there!
I tried to reinstall but in the installation process I don't see the Installation Types where the Startup Item should appear.
What should I do to make it happen?
Thank you for any help!
I the workbranch I get a "Can't connect to MySQL server on '127.0.0.1' (61)" error by testing local server. Probably because both problems are similar...?
Thank you,
Krisz

Software (1 reply)

$
0
0
I get this error when I install MySQL ,
Error Nr. 1045. Access denied for user 'root'@'localhost'
Viewing all 7170 articles
Browse latest View live




Latest Images