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

MySQL completely trashed after Win10 in place update (1 reply)

$
0
0
Hi folks, have a Win10 dev environment with a MySQL DB.

After the latest Win10 update (the major one!), all MySQL services gone, all users gone.

Reinstalled using the command line mysqld -install and can use the workbench again. Recreated the users, recreated the DB from a dump file, set permissions for the users but cannot login using that user.

Obvious questions are:
1. Why have all the settings for MySQL been trashed by this update? Everything else seems to have survived.
2. Why does recreating users seem to have absolutely no effect? (i.e. no schema access even trying to create a connection on the workbench after granting acccess to everything to the user in the workbench!!)

It seems a total uninstall and reinstall is the only way to fix this.

Need help installing on Mac OSX (1 reply)

$
0
0
Hi Folks,

I'm brand new to this; I'm an "old school" web designer who's making the big leap to learn PHP and MySQL. The online course I'm taking is requiring I set up the community server on my Mac OSX system, but the download (mysql-5.7.12-osx10.11-x86_64) simply unpacked a bunch of folders and I don't know what to do.

There's a document which outlines a series of terminal or command-line procedures which are beyond my understanding. And I see there's only a Windows installer available, nothing for Mac.

I unpacked the tar/gz folders in my download folder, but I'm stuck at this point.

Any help or pointers would be appreciated.

thanks,

Rusty

tmpdir permissions problem? (no replies)

$
0
0
I am running mysql 5.5.49-0ubuntu0.14.04.1 on a Mythbuntu 14.04 system. Yesterday, I ran into a problem where my system partition was too small for the temporary files created when the MythTV optimise_db script runs, which does REPAIR TABLE and OPTIMIZE TABLE commands on all tables in the MythTV database, including the huge recordedseek table. So I thought it should be simple to change where mysql puts its temporary files, by altering the tmpdir setting. The current tmpdir setting (in /etc/my.conf) is:

tmpdir = /tmp

and I overrode that by adding a new tmpdir setting in /etc/mysql/conf.d/mythtv-tweaks-jsw.conf file:

tmpdir = /mnt/rec3/tmp

When I restarted mysql, it failed to start and this was in /var/log/mysql/error.log:

/usr/sbin/mysqld: Can't create/write to file '/mnt/rec3/tmp/ibayJP7i' (Errcode: 13)

The /mnt/rec3/tmp directory exists and has the same permissions and ownership as the /tmp directory:

# ll -d /tmp
drwxrwxrwt 7 root root 12288 May 14 22:06 /tmp/

# ll -d /mnt/rec3/tmp
drwxrwxrwt 3 root root 8 May 14 15:50 /mnt/rec3/tmp/

and the /mnt and /mnt/rec3 directories also have full permissions:

# ll -d /mnt
drwxrwxrwx 31 root root 4096 Apr 23 00:10 /mnt/

# ll -d /mnt/rec3
drwxrwxrwx 11 root root 4096 May 14 14:25 /mnt/rec3/

So does anyone have any idea why this does not work? And how I can get mysql to use a different tmp directory?

Can't even get started... (no replies)

$
0
0
I'm trying to follow thisguide on installing a MythTV backend on a Mac, but naturally, I'm stuck at the very 1st point!

I've downloaded and installed MySQL 5.7 from the provided link. When I get to: "Configuring Default Database Users" and type "./mysql -u root" in the terminal, I get" "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"

SSL not enable after 5.6 to 5.7 upgrade MacOSX (no replies)

$
0
0
I just installed MySQL community 5.7.12 on El Capitan, copied over my SSL CA, cert, and key files from my 5.6 folder and specified the files in the Network options section using Workbench.SSL is not enabling with the new installation. The SSL files are generated from the Mac keychain using wildcard certificates I purchased from a trusted authority (Alpha SSL).

I get this in my log:

Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key

So I tried the new SSL Wizard in Workbench and generated a complete new set of SSL files and configured the server options exactly as the wizard specified. Same error.

Ideas?

Linux Mint 17.2 Rafaela problem with MySQL 5.7 (no replies)

$
0
0
Hello everyone! I can't install MySQL 5.7 on my Linux MINT OS 17.2 Rafaela x64. After downloading (mysql-apt-config_0.7.2-1_all.deb) from here http://dev.mysql.com/downloads/repo/apt/ and choosing Ubuntu 14.04 LTS (“Trusty Tahr”) repository I got an error.

> sudo apt-get update
> sudo apt-get install mysql-client
> The packages have unmet dependencies:
  mysql-client: Depends: mysql-community-client (= 5.7.12-1ubuntu14.04) but it will not be installed
E: Unable to correct problems, you have delayed (held) broken packages.

Please help me to install the latest MySQL server!
My current myqsl-server is 5.6

Thank you!

Permission Denied on mysql.sock (no replies)

$
0
0
When I run MySQL from the root id, MySQL runs fine.
however when I run under a 'normal' id I get this error:

Can't connect to local MySQL server through socket '/usr/local/mysql/data/mysql.sock' (13 "Permission denied")

I did an "ls -l" on the '/usr/local/mysql/data/mysql.sock' file and the permissions come back as: "srwxrwxrwx".

Now this appears to be a symbolic link, but again according to the "ls -l" this link does not appear to be pointed anywhere.

Any Ideas?

MySQL service will not start (no replies)

$
0
0
Hi,

on my RasPi I installed MySQL. Unfortunately I will now have to move all databases to another path (NFS mounted NAS).

Basically I did the following:

- stop the mysql Service
- move all files from /var/lib/mysql to /home/pi/nas/db
- updated the datadir variable in the /etc/mysql/my.cnf


But when starting the service I will now see the following error messages in syslog:

May 25 13:35:50 maschine /etc/init.d/mysql[32232]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
May 25 13:35:50 maschine /etc/init.d/mysql[32232]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed
May 25 13:35:50 maschine /etc/init.d/mysql[32232]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
May 25 13:35:50 maschine /etc/init.d/mysql[32232]: Check that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!
May 25 13:35:50 maschine /etc/init.d/mysql[32232]:
May 25 13:35:50 maschine mysql[31497]: Starting MySQL database server: mysqld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . failed!
May 25 13:35:50 maschine systemd[1]: mysql.service: control process exited, code=exited status=1
May 25 13:35:50 maschine systemd[1]: Failed to start LSB: Start and stop the mysql database server daemon.
May 25 13:35:50 maschine systemd[1]: Unit mysql.service entered failed state.
May 25 13:39:01 maschine CRON[32292]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)


And the service will not start.
What do I need to do to get the service back running? How can I check if the permissions to the new path work properly?



Best regards,
Olaf

Mysql community server 5.7.12 on OS-X 10.11.5 (2 replies)

$
0
0
Has anyone successfully installed MySQL 5.7.12 on OS-X El Capitan? I went with the easy way, downloaded and installed disk image; it installs fine but I can't start the server using the MySQL preference pane? I followed all the instructions in here http://dev.mysql.com/doc/refman/5.7/en/installing-mysql-shell-osx-quick.html and in here https://dev.mysql.com/doc/refman/5.6/en/osx-installation-pkg.html but it does not wor. When I try to start using the preference pane it just asks me for my password, after I give it and nothing happens.

I tried the suggestion in here http://stackoverflow.com/questions/36802256/intalled-mysql-but-cant-run-it

I checked the activity monitor and I see mysqld comes and goes, will not stay and the pid keep changing.

My question has anybody been able to use Mysql community server 5.7.12 on OS-X 10.11.5?

Note that last version that I had was 5.6.24 and it worked smoothly; I backup my databases and deleted the version that I had following the suggestion http://community.jaspersoft.com/wiki/uninstall-mysql-mac-os-x

I did two reinstalls with the same outcome.

Mysql ( 5.6.30, 5.7.12 and 5.7.13) disk images on os-x 10.11.5 (no replies)

$
0
0
Those packages will not install properly. I get the feeling that nobody bothered to check whether they would work with launch daemon. Users should not waste time with these untested packages, just follow the instruction in http://dev.mysql.com/doc/refman/5.6/en/binary-installation.html or
http://dev.mysql.com/doc/refman/5.7/en/binary-installation.html
I doubt anybody read this forum except posters who want to poke fun at users like me. But I am hoping this message would save some time for somebody.

Install MySQLnd on RHEL 7 (no replies)

$
0
0
Dear All,

How can I Install MySQLnd on RHEL 7 OS.

I cant Install it from any third party URL, so pls give me any other solution.

I also downloaded a php-mysqlnd-5.0.1-beta.tar.gz file from mysql.com

How Can I Install it OR any other best solution you have all are welcomes

Please help me about that.

Mac install - forgot root password (2 replies)

$
0
0
I installed MySQL Community 5.7.13 and MySQL Workbench 6.3.7 on a Mac. Install is complete and services are started. I may have had a older install on the same Mac. I don't believe I supplied a password for root during the install. Problem is I can't connect in Workbench since I don't know the root password. I've tried some commands in Terminal to reset password, but I can't get connect in Terminal either. I would like to either completely uninstall and start over or figure out how to supply a new root password.

Connect to an existing database on specific path (4 replies)

$
0
0
I copied a database from a Linux installation to a Windows 10 machine where I have installed MySQL server 5.7. I placed it (about 23 files) in a path like this "C:\MSS\VCS". I can't figure out how to tell MySQL how to connect to that database (called VCS).

BTW: I found that I had to shut down McAfee Virus Scanning and firewall before it would install. That took a few tries. It first hung when it tried to configure the firewall. Then again further along in the installation after I had turned off the firewall, but before turning off Virus Scan. The service would start then immediately stop. After reinstalling with McAfee turned off, it's stable even with McAfee running. Maybe that should be in the MySQL KB.

I have Workbench installed. Do I need the ODBC connector configured for this to work locally?

Once I can put in the path, and the TCP/IP parameters or path to a named pipe (which?), I will need to administer that database. So, do I need a specific username and password to do that? I think the default is "admin" with a blank password.

I have it installed on a Linux server too, but cannot get to it over the network (Webmin won't let me configure it). So, I thought I'd try it on a local node, and go from there. But I'm stuck. Please help, and thank you.

Install doesn't work (3 replies)

$
0
0
Is there a way to manually install MySQL on Windows 7? I'm having to rebuild my machines because one of them crashed and burned. So i find myself rebuilding my desktop machine which means I need to reinstall MySQL . I have downloaded the current version of MySQL. the full MSI package and when i run the file it appears to complete right up to the part where it wants to update/ upgrade??? where it reports that it fails and after that nothing happens. It never gives me the setup routine where I give it a root password or any of that stuff,
So my question is this...
Is there a way to manually install MySQL? or for that matter any way to get the install program to actually work?

how to install mysql server in a headlessway with root password (1 reply)

$
0
0
Hello,

as I install mysql community server I enter an empty password
it needs to be so cos I use SALT to push mysql server on debian boxes by remote configurations

but I cant find any way to set the password after that and log in as root

sudo mysqladmin -u root -p password NEWPASSWORD

mysql -u root -p
Enter password:
ERROR 1698 (28000): Access denied for user 'root'@'localhost'

I tried reseting the password but for version 5.7, there is no more Password field inthe user table, and all set/alter password commands, dont work due to using skip-grant-tables options

sudo service mysql stop
sudo mysqld_safe --skip-grant-tables &

I tried
use mysql;update user set account_locked='N' where user='root';flush privileges;
update user set authentication_string=password('dfghdfgh') where User='root'

so how do I install mysql community server in a headless way providing it a default password ?

thanks

MySQL Cluster on Windows issue (1 reply)

$
0
0
Hi,

I am having a lot of problems installing a MYSQL cluster on microsoft windows server 2012r2.

I am trying to use the MySQL cluster installer. I have installed FreeSSH to establish the connection between hosts.

I have two hosts, 10.0.3.10 & 10.0.3.11.

The MySQL cluster install directory is set in the MCI gui as c:\mysql\cluster.
The MySql cluster data directory is set in the MCI gui as c:\mysqlclusterdata

When I click deploy and start cluster it gets 7% into the process and then reports "unable to append file c:/mysql/cluster/share/mysql_system_tables.sql to c:/mysqlclusterdata/55/tmp/install.sql to host 10.0.3.11 {errno 13} permission denied.

Do you know what account in windows it is attempting to use? I have set NTFS permissions on the folders to 'everyone' write access.

I can confirm the all firewalls between hosts are disabled and I have tested the SSH connection with Putty.

Any help would be appreciated

Thanks, Damien

Workbench Installation on Fedora 24 (4 replies)

$
0
0
Trying to install Workbench on a new installation of Fedora 24, which the downloads page says is compatible. Tried installing it from the yum repository and from the rpm directly, neither work, both give the same error:

Error: nothing provides libctemplate.so.3()(64bit) needed by mysql-workbench-community-6.3.7-1.fc24.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages)

adding the --allowerasing switch doesn't help. Haven't been able to find a repo that includes libctemplate. Anyone get this to work?

rebuild mysql database from .frm and .ibd files (no replies)

$
0
0
I set innodb_file_per_table=1 in [mysqld] section in my /etc/my.cnf file, so the table data are in the table files. In my separate database directory /var/lib/mysql/mydata, there is db.opt and all those mytable.frm and mytable.ibd files. I thought these are all files I need to recover my data. When I try to re-install fedora, I just simply copied all files in mydata directory. After the new OS is install, and mysql server installed and up and running, I created the same database mydata, and even created the same tables. Then, I simply copy all those files back into mydata directory. Now, "show tables" show all these tables, but "desc mytable" give me "ERROR 1146 (42S02): Table 'mydata.mytable' doesn't exist".

Is there any way to recover the database from all those .frm and .ibd files? Is there any utility to read .frm and .ibd files? Is there any documentation about the format of the .ibd file (so I can write a program to read it)?

Sorry, I didn't know about mysqldump command.

Ubuntu apt warning - http://repo.mysql.com/apt/ubuntu (no replies)

$
0
0
Hi,

I'm getting the following security warning when running the following on Ubuntu:

sudo apt-get update

This is the warning displayed:

http://repo.mysql.com/apt/ubuntu/dists/xenial/InRelease: Signature by key A4A9406876FCBD3C456770C88C718D3B5072E1F5 uses weak digest algorithm (SHA1)

Any idea as to the cause and how to resolve?

Cheers,
Paul

How to Verify GPG Signature (3 replies)

$
0
0
I can verify the MD5 hash by inspection, after computing it locally on the downloaded software file, but I don't know how to get the "Signature" onto my machine in order for gpg to compare it. When I click on "Signature" on your website, I get a popup showing me the gpg signature, but that doesn't appear to be transferrable to my machine (or at least I don't know how).

The instructions for using gpg --verify seem to suggest that there exists a .asc or .sig file on my machine at the time of the request. When I try to copy-and-paste into TextEdit and save as an .asc or .sig file, I get an error message from gpg.

I have imported your public key.

Thanks,

Mark

OS X 10.11.5
Viewing all 7172 articles
Browse latest View live




Latest Images