Are you the publisher? Claim or contact us about this channel


Embed this content in your HTML

Search

Report adult content:

click to rate:

Account: (login)

More Channels


Channel Catalog


Channel Description:

Forum for Installing and Configuring MySQL.
    0 0

    Hello MySQL users,

    Does MySQL provide patches to manage the leap second that occurs at the end of the year or is something that doesn't affect MySQL at all, is it more like a OS level kind of issue?

    Thank you.

    0 0

    As the subject, i can't install the .dmg file on my mac because it says the digital signature are invalid? I have checked the Md5 checksum and it is the same as on the download page.

    What to do?

    0 0

    I've been trying to get motivated enough to start a personal project that will hopefully teach me enough to where I can take what I have created, and use it as a skill set when looking for side work setting up small databases' for small office environments requiring sharing data for reports and inventory management or even project management.

    I would like to setup a MySQL database on my hosted domain and also install the same database on a client computers or laptops which will sync with the online database, thus keeping all the data current across all client machines via internet connection.

    I have my own, one man computer business and keeping track of what I do is a nightmare. I did set up a rather large MS ACCESS database and its nice, however, i need access to it while I'm mobile so I can just update information live while I'm working--this seems impossible. I would like to build a customer database with all my clients and the jobs I do, parts I buy and my expenses and be able to just boot my LINUX laptop and update my job information locally while I'm working and be done with it. I should be able to go to any web browser and log into it from any computer OR have a copy of the database on my laptop always available with the ability to sync with the online data....

    Quickbooks and Quicken....and even any basic email client such asThundrbird all can do this....

    I want my own database to do the same thing....why is this such a guarded top secret issue.....only seems like its common sense that people would want a wizard that would step through setting this up, with VPN and certs and all...

    Of course this would have a PHP built UI

    am I crazy for wanting this...

    Thanks guys..

    Choppie

    0 0

    Hello,

    I have several schemas created with the MySQL version that was installed on my laptop before I had the Windows 10 crash. It was MySQL 5.1.73 probably, because I still have its MSI installer in my HD.

    I have installed MySQL 5.7 Community version and I would like to change the driver and folder where MySQL data is saved to and bring those old schemas to the new installation.

    I have no any MySQL backup, is that possible ? If I change my.ini and set datadir to the old datadir folder the MySQL service fail to start.

    Is my task possible to do ?

    Thank you very much.

    0 0

    when i add Mysql 8.0 Apt repo, it goes whell, but does not show packages with synaptic or muon...

    deb http://repo.mysql.com/apt/ubuntu/ yakkety mysql-8.0

    from http://repo.mysql.com/apt/ubuntu/dists/yakkety/mysql-8.0/

    advice...

    0 0

    Why is my access being denied?
    mysql -u root -p
    Enter password: *********
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

    I installed MySQL 5.7.17 Community on Windows 10.
    Used the sequence described in the Ref Manual in 2.11.1 Upgrading MySQL and the section titled Performing a Logical Upgrade. Also followed several cross-references in that section.

    1- Reviewed 2.11.1
    2- Used MySQLDump to offload my data.
    3- Shut down server.
    Removed the software using Windows functions. Removed old folders on hard drive.
    4- Installed with the MySQL Installer.
    5- Skipped initialize data directory. Section 2.3.7 says Installer does it.
    6- Start server with mysqld_safe - ERROR mysqld_safe not recognized
    So rebooted to start server.
    7- Reset root password. The one I set during install was OK, so I skipped this.
    8- Reloaded data. All OK. USED THE ROOT PASSWORD HERE.
    9- Ran mysql_upgrade. Two messages but all went OK.
    10 Shutdown and re-start. Re-booted (as mysqld_safe no good).

    Tried to start mysql to define USERS and GRANTS and I got the ACCESS DENIED error.
    Why did it work to reload the data and not here? What have I missed?

    Thanks,
    WillB

    0 0

    hello,

    I'm new to MySQL and databases. I'm trying to get to grips with the deeper structure and I'm confused about why there are apparently two locations after installing MySQL and I was hoping someone could clarify what each is for?

    I have this:

    /usr/local/mysql-5.7.17-macos10.12-x86_64/

    and this:

    /usr/local/mysql/

    Why are there two mySQL related directories in the local folder? In terminal access the database by doing this to login: cd ./usr/local/mysql/bin and then typing: mysql -u root -p 'password'.

    However if the database is stored in the data folder and everything apparently seems to be happening in the /usr/local/mysql folder, what is this for:/usr/local/mysql-5.7.17-macos10.12-x86_64/

    It's been bugging me for a day now and I've not been able to find anything online other than the bottom of this URL: https://dev.mysql.com/doc/refman/5.6/en/osx-installation-pkg.html
    , which doesn't really make sense to me

    thanks for your help! :)

    0 0

    Have just updated from 5.5 to 5.7.17.

    Every time one of my Java programs issues a Select or Update to MySQL, I get a long-winded WARN message:
    Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

    While I understand the idea of the message, the "fixes" are above my technical prowess.

    1) Where do I set the parameter "useSSL=false"? I tried putting it in my.ini but got errors from MySQL that it was an invalid parameter.
    2) This is a system where all users come in through Remote Desktop Connection. If I do set useSSL=false are there security concerns?

    Thank you.
    WIllB

    0 0

    hi,
    i install mysql on Ubuntu 16.04.1 LST

    after installation, i change the DB directory.

    when i run mysqld --initialize, com output "(Errcode: 17 - File exists)" !

    the dirictoru ist mysql owner and grup, permission is 0755 !

    when i delet the therictori, is the errorcode 13, permission denedy !

    thasnk you for you help !

    Philip



    my my.cnf
    [client]
    port = 3306
    socket = /var/run/mysqld/mysqld.sock

    # Here is entries for some specific programs
    # The following values assume you have at least 32M ram

    # This was formally known as [safe_mysqld]. Both versions are currently parsed.
    [mysqld_safe]
    socket = /var/run/mysqld/mysqld.sock
    nice = 0

    [mysqld]
    #
    # * Basic Settings
    #
    user = mysql
    pid-file = /var/run/mysqld/mysqld.pid
    socket = /var/run/mysqld/mysqld.sock
    port = 3306
    basedir = /usr
    datadir = /local_data/db/mysql
    tmpdir = /tmp
    lc-messages-dir = /usr/share/mysql
    skip-external-locking
    explicit_defaults_for_timestamp = 1

    0 0

    I am attempting to do an in-place upgrade for MySQL server from 5.6.31 to 5.7.14.
    I have with me .msi files for 5.7.14 and 5.6.35
    when I execute the .msi files it detects the previously installed version of the server and provides me options to remove, upgrade etc.
    When I attempt to upgrade from 5.6. to 5.6.35, through the .msi file of 5.6.35 it happens seamlessly, whereas for 5.7.14 I am confronted with a message stating "none of the products have upgrades available".
    http://dev.mysql.com/doc/refman/5.7/en/upgrading.html - in this link it clearly states that "Upgrading one release level is supported."

    The .msi for 5.7.14's server is present in "C:\ProgramData\MySQL\MySQL Installer for Windows\Product Cache" folder at the time when I attempt to upgrade. then why is it giving me the error message?

    Can you please help me do an in-place upgrade, up a release level, without having to uninstall the existing version and reinstalling the new one (without loosing the existing database)?

    0 0

    Hi All,

    I'm after a little help and i got advice from the sales team to pop into here for some advice.

    I work in a school and have asked to be to install mysql onto 25 machines for a computer science class.

    not knowing much about how the software works. I have learnt i need serveal bits of MYSQL installing on each amchin (server, shell)

    but if im being honest apart from installation im not sure how to set the software. how do i set server up, does this need to be set up on every machine (28 in total so would be time consuming)

    or is there a emulator out there that would make this process easier and get me to the point i need for the students to use mysql.

    Im unsure what they are needing it for apart from computer science.

    Thanks in advance and apologies if this doesn't make any sense.

    Thanks
    Chris

    0 0

    hi all,

    m getting below mention error while starting mysql on my local machine.

    kinldy help me to short out this.

    170113 22:39:09 mysqld_safe Starting mysqld daemon with databases from /disk1/mysqldata
    2017-01-13 22:39:09 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
    2017-01-13 22:39:09 0 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.6.31-log) starting as process 12601 ...
    2017-01-13 22:39:09 12601 [Note] Plugin 'FEDERATED' is disabled.
    /usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
    2017-01-13 22:39:09 12601 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
    2017-01-13 22:39:09 12601 [Note] InnoDB: Using atomics to ref count buffer pool pages
    2017-01-13 22:39:09 12601 [Note] InnoDB: The InnoDB memory heap is disabled
    2017-01-13 22:39:09 12601 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
    2017-01-13 22:39:09 12601 [Note] InnoDB: Memory barrier is not used
    2017-01-13 22:39:09 12601 [Note] InnoDB: Compressed tables use zlib 1.2.3
    2017-01-13 22:39:09 12601 [Note] InnoDB: Using Linux native AIO
    2017-01-13 22:39:09 12601 [Note] InnoDB: Using CPU crc32 instructions
    2017-01-13 22:39:09 12601 [Note] InnoDB: Initializing buffer pool, size = 128.0M
    2017-01-13 22:39:09 12601 [Note] InnoDB: Completed initialization of buffer pool
    2017-01-13 22:39:09 12601 [Note] InnoDB: Highest supported file format is Barracuda.
    2017-01-13 22:39:09 12601 [Note] InnoDB: 128 rollback segment(s) are active.
    2017-01-13 22:39:09 12601 [Note] InnoDB: Waiting for purge to start
    2017-01-13 22:39:09 12601 [Note] InnoDB: 5.6.31 started; log sequence number 1600677
    2017-01-13 22:39:09 12601 [ERROR] --gtid-mode=ON or UPGRADE_STEP_1 or UPGRADE_STEP_2 requires --log-bin and --log-slave-updates
    2017-01-13 22:39:09 12601 [ERROR] Aborting

    2017-01-13 22:39:09 12601 [Note] Binlog end
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'partition'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'ARCHIVE'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'BLACKHOLE'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_FT_DELETED'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_METRICS'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_CMPMEM'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_CMP_RESET'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_CMP'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_LOCKS'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'INNODB_TRX'
    2017-01-13 22:39:09 12601 [Note] Shutting down plugin 'InnoDB'
    2017-01-13 22:39:09 12601 [Note] InnoDB: FTS optimize thread exiting.
    2017-01-13 22:39:09 12601 [Note] InnoDB: Starting shutdown...
    2017-01-13 22:39:11 12601 [Note] InnoDB: Shutdown completed; log sequence number 1600687
    2017-01-13 22:39:11 12601 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
    2017-01-13 22:39:11 12601 [Note] Shutting down plugin 'CSV'
    2017-01-13 22:39:11 12601 [Note] Shutting down plugin 'MEMORY'
    2017-01-13 22:39:11 12601 [Note] Shutting down plugin 'MRG_MYISAM'
    2017-01-13 22:39:11 12601 [Note] Shutting down plugin 'MyISAM'
    2017-01-13 22:39:11 12601 [Note] Shutting down plugin 'sha256_password'
    2017-01-13 22:39:11 12601 [Note] Shutting down plugin 'mysql_old_password'
    2017-01-13 22:39:11 12601 [Note] Shutting down plugin 'mysql_native_password'
    2017-01-13 22:39:11 12601 [Note] Shutting down plugin 'binlog'
    2017-01-13 22:39:11 12601 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete

    170113 22:39:11 mysqld_safe mysqld from pid file /disk1/mysqldata/templatecentos66base.techmahindra.com.pid ended
    [root@templatecentos66base disk1]#


    Thanks
    Pawan Giri

    0 0

    JIRA and Confluence do not support MySQL 5.7
    I cannot install MySQL 5.6 using yum.
    Can someone point me to the documentation on installing 5.6?
    I tried to download the server and client rpms and they install successfully, but when I try to connect or launch mysql, I receive "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

    0 0

    I recently did a clean install of Ubuntu 16.04 x64 over 14.04. I have a complete system backup of 14.04 on a USB drive. The install included MySQL 5.7.16. I was on MySQL 5.5 on 14.04. In order to migrate my databases, I used mysqldump on 14.04 and restored them into 16.04. That worked. However, I have access issues on MySQL 5.7.16.

    I had 2 users defined on MySQL 5, root and me. When I tried to login to MySQL with either root or my user name, I got an access denied. I tried root with no password, but access was denied. After much struggling, I actually was able to log into MySQL as root using the password that had been mine on MySQL 5.5. I was not able to log into MySQL with my user name.

    I tried to change the password for root using

    mysql> update user set password='newpassword' where user='root';

    I received an ok response. I then used Flush Privileges and logged out. I could not log back in as root with the new password, but I could log in as root with my old password.

    While logged in as root, I tried to change my password, but I received an error saying there was no matching row in mysql.users.

    I then ran this query:

    SELECT user, host, authentication_string from mysql.users

    There is a row with my name, but I cannot perform any operations on it: alter, drop, set, etc.

    Because I did a clean install, I had to selectively copy files related to certain packages into the new packages such as profiles for Thunderbird and Firefox as well as other software. I am wondering if I inadvertently copied something into MySQL's environment.

    Are there any actions I can take to resolve this, or do I need to remove and re-install MySQL?

    0 0

    I installed MySQL from a binary on a RedHat6 server in a custom location, /usr/local/adm.

    I can start it using the following command:
    /usr/local/adm/mysql/bin/mysqld_safe --defaults-file=/usr/local/adm/mysql/my-adm.cnf --ledir=/usr/local/adm/mysql/bin &

    I cannot start it running service mysql start. Here is the output:
    Starting MySQL
    /usr/local/adm/mysql/bin/mysqld_safe --defaults_file=/usr/local/adm/mysql/my-adm.cnf --ledir=/usr/local/adm/mysql/bin >/dev/null &

    The server quit without updating PID file (/usr/local/adm/mysql/data/mysql-adm.pid).

    The 2nd line of the output is the command being executed in start section of /etc/init.d/mysql

    0 0
  • 01/23/17--16:56: remote access (no replies)
  • Hello everyone.

    This is my problem. Please help.

    ==========================================

    MySQL installed on AWS instance UBUNTU 16.04

    port 3306 OPEN ON ISTANSE



    part of my.cnf file
    ===============================

    [client]
    port = 3306
    socket = /var/run/mysqld/mysqld.sock

    # Here is entries for some specific programs
    # The following values assume you have at least 32M ram

    # This was formally known as [safe_mysqld]. Both versions are currently parsed.
    [mysqld_safe]
    socket = /var/run/mysqld/mysqld.sock
    nice = 0

    [mysqld]
    #
    # * Basic Settings
    #
    user = mysql
    pid-file = /var/run/mysqld/mysqld.pid
    socket = /var/run/mysqld/mysqld.sock
    port = 3306
    basedir = /usr
    datadir = /var/lib/mysql
    tmpdir = /tmp
    lc-messages-dir = /usr/share/mysql
    bind-address = 0.0.0.0

    ===============================

    No more bind-address in any file global search





    +-------------------------------------------------------------------------------------------------------------------------------------------+
    | Grants for PwxxxxxxxRemoute@% |
    +-------------------------------------------------------------------------------------------------------------------------------------------+
    | GRANT ALL PRIVILEGES ON *.* TO 'PwxxxxxxxRemoute'@'%' IDENTIFIED BY PASSWORD '*E0C998C34C3Cxxxxxx3DDA118ED78F0' WITH GRANT OPTION |
    +-------------------------------------------------------------------------------------------------------------------------------------------+
    1 row in set (0.00 sec)

    mysql>


    C:\Users\User>telnet XXX.XXX.XXX.XXX 3306
    Connecting To XXX.XXX.XXX.XXX...Could not open connection to the host, on port 3306
    :Connect failed


    Any Ideas?

    0 0

    Hello,

    I have a CentOS 6.8 machine and enabled the mysql57-community-release repository. I installed the following packages and MySQL works great:

    mysql-community-client.x86_64 5.7.17-1.el6 @mysql57-community
    mysql-community-common.x86_64 5.7.17-1.el6 @mysql57-community
    mysql-community-libs.x86_64 5.7.17-1.el6 @mysql57-community
    mysql-community-libs-compat.x86_64 5.7.17-1.el6 @mysql57-community
    mysql-community-server.x86_64 5.7.17-1.el6 @mysql57-community

    However, I noticed that the server binaries are each more than 200MB in size:

    -rwxr-xr-x 1 root root 250355311 Nov 28 08:35 /usr/sbin/mysqld
    -rwxr-xr-x 1 root root 204545977 Nov 28 08:29 /usr/sbin/mysqld-debug

    Are these legitimate binaries? They're enormous; I could almost understand the mysql-debug binary being large due to debug symbols, except it's actually smaller than the plain mysqld by 50MB!

    [root@host /tmp]# md5sum /usr/sbin/mysqld
    9665e96ae7afa92224dc1830be5bb526 /usr/sbin/mysqld
    [root@host /tmp]# sha1sum /usr/sbin/mysqld
    f447c48da767c422b2dd2301fff52fff1a98ea35 /usr/sbin/mysqld
    [root@host /tmp]# md5sum /usr/sbin/mysqld-debug
    cf3df7a67ca6afa86af616e6f7db4f7a /usr/sbin/mysqld-debug
    [root@host /tmp]# sha1sum /usr/sbin/mysqld-debug
    4930ecfcd2995543f3012e1aee7368a523570403 /usr/sbin/mysqld-debug

    I don't get Google hits on any of these hashes, which also seems odd. Is there anyone else using the the mysql57-community-release repo who can confirm you have the same files?

    0 0

    Hello,

    I have installed MySQL for ubuntu, but it's not working properly. Anybody Tell Installation process Here..


    Thanks

    0 0

    I'm starting to think that a problem I'm tracking between my LAMP server and a new install of Linux on my laptop might be a version difference problem between the client and server. Client contains the latest versions of MySQL and LAMP server older versions of the MySQL server.

    Is it safe to upgrade the MySQL server on my CentOS 5.12 server MySQL 5.0.95 directly to 5.7?

    0 0

    Hi, I have freshly installed MySQL 5.7.17 on my CentOS7 server. I tried to install group replication plugin "group replication.so" but I got an error.

    mysql> INSTALL PLUGIN group_replication SONAME 'group_replication.so';
    ERROR 1123 (HY000): Can't initialize function 'group_replication'; Plugin initia
    lization function failed.

    Can anybody help solve the problem?

    0 0
    0 0

    Hi,

    I'm trying to set up group Replication. I have modified my.cfg as indicted in te manual and have installed the plugin witout any errors, I believe I could start group replication successfully. However, when the following commnand was entered, I got an error.

    mysql> SELECT * FROM perfomance_schema_replication_group_members;
    ERROR 1046 (3D000): No database selected

    Any help?

    0 0

    Hi,

    I'm setting up gourp replication, but I have a port problem.
    Coulc someone help me?

    I added the following lines in my.cfg.

    --- my.cfg ------
    loose-group_replication_local_address= "127.0.0.1:24801"
    loose-group_replication_group_seeds= "127.0.0.1:24801,127.0.0.1:24902,127.0.0.1:24801"
    -----------------

    However, I got an error as follows:

    -----------------
    mysql> SET GLOBAL group_replication_bootstrap_group=on;
    Query OK, 0 rows affected (0.00 sec)

    mysql> START GROUP_REPLICATION;
    Query OK, 0 rows affected (1.09 sec)

    mysql> SELECT * FROM performance_schema.replication_group_members;
    +---------------------------+--------------------------------------+-------------+-------------+--------------+
    | CHANNEL_NAME | MEMBER_ID | MEMBER_HOST | MEMBER_PORT | MEMBER_STATE |
    +---------------------------+--------------------------------------+-------------+-------------+--------------+
    | group_replication_applier | 083ebdd9-ec51-11e6-b129-000c298ddb21 | db01 | 3306 | ONLINE |
    +---------------------------+--------------------------------------+-------------+-------------+--------------+
    1 row in set (0.00 sec)
    -----------------

    As you see, I designated the port number 24801 in my.cfg, but the MEMBER PORT above indicates 3306.

    So, I added the following lines, but again, I got an error.

    --- my.cfg ------
    [mysqld]
    port=24801
    -----------------

    -----------------
    mysql> SET GLOBAL group_replication_bootstrap_group=on;
    Query OK, 0 rows affected (0.00 sec)

    mysql> RESET MASTER;
    Query OK, 0 rows affected (0.01 sec)

    mysql> START GROUP_REPLICATION;
    ERROR 3092 (HY000): The server is not configured properly to be an active member of the group. Please see more details on error log.
    -----------------

    Any solution?

    0 0

    Install MySQL5.5 on Win2012 R2 OS.
    Create a database: DS2
    Database name is "web"
    Run command "use DS2;"
    Then run command "mysqld --initialize-insecure;" to initialize "DS2" DB.

    Got "Error 1064 <42000>: You have an error in your SQL syntax; check the manual that corresponds to your MYSQL server version for the right syntax to use near ‘mysqld --initialize-insecure’at line 1"

    0 0

    Hi

    I was running a 5.5 installation on a machine where I am developing an application, using local databases, stored in C:\ProgramData\MySQL\MySQL Server 5.5\data

    It was playing up (only running a few queries before losing connection) so in my desperation I uninstalled MySQL and downloaded and installed the latest, 5.7.

    The databases are still in the 5.5\data folder. What is the correct way to move the data into the new installation? Can I just copy the data? I', converned there may be format differences, or other issues.

    TIA
    Mark

    0 0

    Hi

    I am trying to install MySQL Cluster Server in Oracle VM VirtualBox OpenSUSE SLES 11. When I run the install rpm command, I get the error message:

    SUSE:/media/sf_VM-SUSE # rpm -Uhv MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64.rpm
    warning: MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
    error: Failed dependencies:
    libaio.so.1()(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libc.so.6()(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libc.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libc.so.6(GLIBC_2.3)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libc.so.6(GLIBC_2.3.2)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libc.so.6(GLIBC_2.3.4)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libc.so.6(GLIBC_2.4)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libc.so.6(GLIBC_2.7)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libc.so.6(GLIBC_2.8)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libcrypt.so.1()(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libcrypt.so.1(GLIBC_2.2.5)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libdl.so.2()(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libdl.so.2(GLIBC_2.2.5)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libgcc_s.so.1()(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libgcc_s.so.1(GCC_3.0)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libm.so.6()(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libm.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libncurses.so.5()(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libnuma.so.1()(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libnuma.so.1(libnuma_1.1)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libnuma.so.1(libnuma_1.2)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libpthread.so.0()(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libpthread.so.0(GLIBC_2.3.3)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    librt.so.1()(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    librt.so.1(GLIBC_2.2.5)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libstdc++.so.6()(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libstdc++.so.6(CXXABI_1.3)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libstdc++.so.6(GLIBCXX_3.4)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    libstdc++.so.6(GLIBCXX_3.4.9)(64bit) is needed by MySQL-Cluster-server-gpl-7.4.13-1.sles11.x86_64
    SUSE:/media/sf_VM-SUSE #


    Can anyone please help advise where I can find the correct missing above dependencies and how to install them?

    Thanks.
    Best regards
    Phuong

    0 0

    Hi

    I have just installed MySQL Cluster Server "MySQL-Cluster-server-gpl-7.2.27-1.sles11.i586" on SLES 11 i586 running on Oracle VM VirtualBox. After that, I am advised to run mysql_secure_installation:


    SUSE:/media/sf_VM-SUSE # rpm -Uhv MySQL-Cluster-server-gpl-7.2.27-1.sles11.i586.rpm
    warning: MySQL-Cluster-server-gpl-7.2.27-1.sles11.i586.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
    Preparing... ########################################### [100%]
    1:MySQL-Cluster-server-gp########################################### [100%]
    warning: user mysql does not exist - using root
    warning: group mysql does not exist - using root
    insserv: warning: current start runlevel(s) (3 5) of script `vboxadd-x11' overwrites defaults (empty).
    insserv: Service network is missed in the runlevels 4 to use service mysql
    mysql 0:off 1:off 2:on 3:on 4:on 5:on 6:off
    170216 17:02:46 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
    170216 17:02:46 [Note] /usr/sbin/mysqld (mysqld 5.5.54-ndb-7.2.27-cluster-gpl) starting as process 5964 ...
    170216 17:02:47 [Note] Ignoring --secure-file-priv value as server is running with --bootstrap.
    170216 17:02:47 [Note] /usr/sbin/mysqld (mysqld 5.5.54-ndb-7.2.27-cluster-gpl) starting as process 5971 ...

    PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
    To do so, start the server, then issue the following commands:

    /usr/bin/mysqladmin -u root password 'new-password'
    /usr/bin/mysqladmin -u root -h SUSE password 'new-password'

    Alternatively you can run:
    /usr/bin/mysql_secure_installation

    which will also give you the option of removing the test
    databases and anonymous user created by default. This is
    strongly recommended for production servers.

    See the manual for more instructions.

    Please report any problems at http://bugs.mysql.com/


    However, when I run /usr/bin/mysql_secure_installation, I get the error:

    "can't find a 'mysql' client in path or ./bin"

    I have checked and found the script is already existing under /usr/bin:

    -rwxr-xr-x 1 root root 11717 Jan 5 17:40 mysqlbug
    -rwxr-xr-x 1 root root 4245 Jan 5 17:40 mysql_convert_table_format
    -rwxr-xr-x 1 root root 23918 Jan 5 17:40 mysqld_multi
    -rwxr-xr-x 1 root root 26688 Jan 5 17:40 mysqld_safe
    -rwxr-xr-x 1 root root 7402 Jan 5 17:40 mysqldumpslow
    -rwxr-xr-x 1 root root 1261 Jan 5 17:40 mysql_fix_extensions
    -rwxr-xr-x 1 root root 34852 Jan 5 17:40 mysqlhotcopy
    -rwxr-xr-x 1 root root 14797 Jan 5 17:40 mysql_install_db
    -rwxr-xr-x 1 root root 3795752 Jan 5 17:41 mysql_plugin
    -rwxr-xr-x 1 root root 8198 Jan 5 17:40 mysql_secure_installation
    -rwxr-xr-x 1 root root 17485 Jan 5 17:40 mysql_setpermission
    -rwxr-xr-x 1 root root 6775900 Jan 5 17:41 mysqltest
    -rwxr-xr-x 1 root root 3610921 Jan 5 17:40 mysql_tzinfo_to_sql
    -rwxr-xr-x 1 root root 6363081 Jan 5 17:41 mysql_upgrade
    -rwxr-xr-x 1 root root 3888 Jan 5 17:40 mysql_zap


    I have tried to follow some available hints/tips from forum, but it doesn't help. Can anyone be familiar with SLES 11 please help me fix this issue?

    Thanks in advance.
    Best regards
    Phuong

    0 0

    From the error log file I see

    2017-02-18T22:58:11.065057Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled

    as confirmed by

    mysql> SHOW VARIABLES LIKE "secure_file_priv";
    +------------------+-------+
    | Variable_name | Value |
    +------------------+-------+
    | secure_file_priv | NULL |
    +------------------+-------+
    1 row in set (0.01 sec)

    Still the setting is configured

    root# more /etc/my.cnf
    [mysql]
    log-bin=mysql-bin
    server-id=1
    secure_file_priv="/users/userid/"

    and server has been stopped and started multiple times, both from the settings menu and from the prompt using launchctl

    What could be going wrong?

    0 0

    I am a absolute beginner to mysql, and trying to enable query_cache_type = 2; for a project I am working on, and after reading documentation and a variety of posts I created a "my.cnf" file on cd /etc. Right after the creation of the file I tried restarting mysql server to no avail, but getting the following error:

    "ERROR! The server quit without updating PID file (/usr/local/mysql/data/{user}.local.pid).

    I have tried providing permission using
    $ sudo chown -RL root:mysql /usr/local/mysql and entering my password

    But when i try:

    $ sudo /usr/local/mysql/support-files/mysql.server restart

    The error that I got next is:

    ERROR! MySQL server PID file could not be found!

    I don't know what else to do... or how to update the PID file.

    I apologize if the question is terribly dumb, but I am in need of help!

    0 0

    Hi,

    I already installed a mysql 5.7.17 managed by systemd on RH7... it's running fine using multiple instances (@P1, @P2...).

    Now I wish to install a mysql 5.6.35 (and other earlier versions)

    1) can I use the same my.cnf ?
    5.7 will use mysqld@P1, mysqld@P2 entries,
    and 5.6 should start with mysqld_multi, using mysqld1, mysqld2 entries)

    2) can I create a systemd entry for this 5.6 instance ? using the 5.7 model or any specific values ? (--daemonize is probably not available in 5.6)

    3) i unsuccessfuly tried to start mysql 5.6 using -bash-4.2$ /mysql/mysql-5.6.35/bin/mysqld_multi start 2
    WARNING: Log file disabled. Maybe directory or file isn't writable?
    mysqld_multi log file version 2.16; run: Mon Feb 20 16:49:53 2017

    Starting MySQL servers

    => no error... but no running server and no errorlog...

    Thx for any help