MySQL upgrade

I just upgraded from    4.0.18-2 to 4.0.18-3. On shutdown I get message:
shutting down mysql daemon ............ [FAILED]
anybody else getting this message?
Before the upgrade it stopped ok.

Solved. I upgraded gcc to 3.4.0 and mysql works and stops fine now.

Similar Messages

  • PHP fails after mysql upgrade/downgrade [SOLVED]

    After upgrading mysql a whole load of things got fugly.
    My mod_python stop working with the databases and I had to downgrade to the previous version but now I have a new problem.
    In PHP (another of the laguages I use for business) no longer wants to read the downgraded file and insists in reading the newest version of the shared files so it produces these error:
    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613/mysql.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
    Apr 14 21:26:50 dragonfly httpd: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613/mysqli.so' - libmysqlclient.so.16: cannot open shared object file: No such file or directory in Unknown on line 0
    I have spent the entire day dealing with this to no avail. By now I'm pissed and frustrated,  so I decided to post; perhaps I'm missing something really simple.
    Any help will be appreciated.
    R.
    Last edited by ralvez (2009-04-15 21:45:48)

    When MySQL upgraded to version 5.1 I had to do the following:
    (Note, you may want to try step 4 FIRST, but in my case I had to reset my root password for some reason.)
    1) Stop the MySQL Daemon:
    /etc/rc.d/mysqld stop
    2) Restart MySQL in SAFE MODE and RESET the Root Password:
    mysqld_safe --skip-grant-tables &
    then do
    mysql -u root mysql
    UPDATE user SET password=PASSWORD('MYPWORD') WHERE User='root';
    FLUSH PRIVILEGES;
    exit
    3) Then stop the safe Daemon and restart MySQL normally:
    /etc/rc.d/mysqld restart
    4) Then I had to run mysql_upgrade:
    mysql_upgrade -u root -pMYPASSWORD
    I think mine screwed up because I used MySQL GUI Tools which is still at version 5.0. I don't know FOR SURE, but that is my opinion.
    I also had a problem initially where the "mysql.servers" table was missing. I have no idea why, but it took me a couple of hours to get everything working again. I feel your pain. But if you're brace you might try upgrading to 5.1 again and see if these instructions work for you. I had to do this on TWO machines, and it worked on both of them.
    I'm also open to hear from anyone else that could explain what went on.

  • MySQL upgrade question

    Not sure if this is the appropriate forum for a mySQL upgrade--but since Oracle owns mySQL now I thought I would give it a try.
    I just ran the mysql_upgrade and can't locate the log to review. Anyone know where the log is dumped?

    Hi
    Please post your issuen on forums.mysql.com/
    Regard
    Helios

  • Server 10.3.9 - MySQL Upgraded and PHP cannot connect to it.

    Hi all.
    I have a Clean 10.3.9 Build after it crashed I needed to recover it. I would like to use this to host a CMS called MODx but it required MySQL 4.1 and 10.3 ships with 4.0.
    So I downloaded the latest installer for MySQL of the website along with the Administration tool and have MySQL 4.1 running happily on the server now.
    I have my website configured to use PHP and it loads the pages perfectly - I just enabled PHP in the Apache Module of Server Admin. However it does not connect to the database and everything I have seen so far points to the link in PHP pointing to the bundled MySQL installation rather then an addition.
    What do I need to update this configuration - no changes to php had been made it was using the defaults. I did a brief search on the net in the time available - but everything refers to 10.4 - which if we were running it I would not have needed to upgrade - but not to 10.3.

    Like Dan White, I have found that I can still run the Lide 90 under Mavericks. As Dan says, the buttons on the front of the scanner don't work but I rarely if ever used them.
    I have just tested the scanner using Acrobat Pro and it loads up the Scangear software to capture the scan, with no problems at all. I didn't have to reinstall anything as it was all there already and working in Mountain Lion. Photoshop CS 5.1 is different; it does not recognise the scanner, presumably because it can't find a TWAIN driver for it. Image Capture does not recognise the scanner either, but I don't have the latest (10.8) Canon MP Explorer and Explorer Opener software installed.

  • [SOLVED] mysql upgrade stops mythtv working

    Just upgraded mysql and got the following message from pacman:
    [2009-11-18 10:19] >> MySQL configuration file now is into /etc/mysql/ directory.
    [2009-11-18 10:19] >> Remember to replace it with your old configuration file.
    [2009-11-18 10:19] upgraded mysql (5.1.39-1 -> 5.1.40-1)
    but where is my old configuration file? From Googleing I think the default is /etc/my.cnf but that file is not there. I don't remember editing a config file for mysql.
    I tried running with the new default file at /etc/mysql/my.cnf but I keep getting access denied messages when running mythtv and it cannot connect to the database. I logged into mysql as root and made sure of the mythtv user password, made sure they had full privileges on the mythconverg database but still no change.
    Any ideas what to try?
    For now I have downgraded back to 5.1.39-1 and all's working ok.
    Last edited by fastfret79 (2009-11-18 16:37:25)

    Well that explains why I couldn't find it! Looking now after downgrading it is at /etc/my.cnf, but the /etc/mysql/my.cnf has now been removed so I can't compare them at the moment.
    Mythtv is the only reason I have mysql, but I don't think that mythtv has anything to do with it and I don't think rebuilding it will help. i.e. when running the following
    mysql -u mythtv -p mythconverg
    this works with 5.1.39-1 but with 5.1.40-1 it throws up the permission denied message.
    I'm gonna digg around again later (when mythtv isn't recording anything!) to get to the bottom of this.

  • Mysql upgrade issue

    after upgrade i rebooted and ran mysql_upgrade as written on the main page. here's what I got:
    mysql_upgrade
    Looking for 'mysql' as: mysql
    Looking for 'mysqlcheck' as: mysqlcheck
    Running 'mysqlcheck' with connection arguments: '--port=3306' '--socket=/var/run/mysqld/mysqld.sock'
    mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) when trying to connect
    FATAL ERROR: Upgrade failed
    I  myself do not use mysql. It's installed as kde4 dependancy. Do i need to run mysql_upgrade?
    Last edited by off220 (2011-02-07 17:04:48)

    csergec,
    here it is:
    # MySQL config file for medium systems.
    # This is for a system with little memory (32M - 64M) where MySQL plays
    # an important part, or systems up to 128M where MySQL is used together with
    # other programs (such as a web server)
    # MySQL programs look for option files in a set of
    # locations which depend on the deployment platform.
    # You can copy this option file to one of those
    # locations. For information about these locations, see:
    # http://dev.mysql.com/doc/mysql/en/option-files.html
    # In this file, you can use all long options that a program supports.
    # If you want to know which options a program supports, run the program
    # with the "--help" option.
    # The following options will be passed to all MySQL clients
    [client]
    #password = your_password
    port = 3306
    socket = /var/run/mysqld/mysqld.sock
    # Here follows entries for some specific programs
    # The MySQL server
    [mysqld]
    port = 3306
    socket = /var/run/mysqld/mysqld.sock
    datadir = /var/lib/mysql
    skip-external-locking
    key_buffer_size = 16M
    max_allowed_packet = 1M
    table_open_cache = 64
    sort_buffer_size = 512K
    net_buffer_length = 8K
    read_buffer_size = 256K
    read_rnd_buffer_size = 512K
    myisam_sort_buffer_size = 8M
    # Don't listen on a TCP/IP port at all. This can be a security enhancement,
    # if all processes that need to connect to mysqld run on the same host.
    # All interaction with mysqld must be made via Unix sockets or named pipes.
    # Note that using this option without enabling named pipes on Windows
    # (via the "enable-named-pipe" option) will render mysqld useless!
    skip-networking
    # Replication Master Server (default)
    # binary logging is required for replication
    log-bin=mysql-bin
    # binary logging format - mixed recommended
    binlog_format=mixed
    # required unique id between 1 and 2^32 - 1
    # defaults to 1 if master-host is not set
    # but will not function as a master if omitted
    server-id = 1
    # Replication Slave (comment out master section to use this)
    # To configure this host as a replication slave, you can choose between
    # two methods :
    # 1) Use the CHANGE MASTER TO command (fully described in our manual) -
    # the syntax is:
    # CHANGE MASTER TO MASTER_HOST=<host>, MASTER_PORT=<port>,
    # MASTER_USER=<user>, MASTER_PASSWORD=<password> ;
    # where you replace <host>, <user>, <password> by quoted strings and
    # <port> by the master's port number (3306 by default).
    # Example:
    # CHANGE MASTER TO MASTER_HOST='125.564.12.1', MASTER_PORT=3306,
    # MASTER_USER='joe', MASTER_PASSWORD='secret';
    # OR
    # 2) Set the variables below. However, in case you choose this method, then
    # start replication for the first time (even unsuccessfully, for example
    # if you mistyped the password in master-password and the slave fails to
    # connect), the slave will create a master.info file, and any later
    # change in this file to the variables' values below will be ignored and
    # overridden by the content of the master.info file, unless you shutdown
    # the slave server, delete master.info and restart the slaver server.
    # For that reason, you may want to leave the lines below untouched
    # (commented) and instead use CHANGE MASTER TO (see above)
    # required unique id between 2 and 2^32 - 1
    # (and different from the master)
    # defaults to 2 if master-host is set
    # but will not function as a slave if omitted
    #server-id = 2
    # The replication master for this slave - required
    #master-host = <hostname>
    # The username the slave will use for authentication when connecting
    # to the master - required
    #master-user = <username>
    # The password the slave will authenticate with when connecting to
    # the master - required
    #master-password = <password>
    # The port the master is listening on.
    # optional - defaults to 3306
    #master-port = <port>
    # binary logging - not required for slaves, but recommended
    #log-bin=mysql-bin
    # Uncomment the following if you are using InnoDB tables
    #innodb_data_home_dir = /var/lib/mysql
    #innodb_data_file_path = ibdata1:10M:autoextend
    #innodb_log_group_home_dir = /var/lib/mysql
    # You can set .._buffer_pool_size up to 50 - 80 %
    # of RAM but beware of setting memory usage too high
    #innodb_buffer_pool_size = 16M
    #innodb_additional_mem_pool_size = 2M
    # Set .._log_file_size to 25 % of buffer pool size
    #innodb_log_file_size = 5M
    #innodb_log_buffer_size = 8M
    #innodb_flush_log_at_trx_commit = 1
    #innodb_lock_wait_timeout = 50
    [mysqldump]
    quick
    max_allowed_packet = 16M
    [mysql]
    no-auto-rehash
    # Remove the next comment character if you are not familiar with SQL
    #safe-updates
    [myisamchk]
    key_buffer_size = 20M
    sort_buffer_size = 20M
    read_buffer = 2M
    write_buffer = 2M
    [mysqlhotcopy]
    interactive-timeout

  • Latest mysql upgrade wont start (2010.06) [fixed]

    problem was that directory /var/run/mysql
    was on ownership of root:root
    and not on mysql:mysql
    after changing it it started
    error logs for mysql are fyi in /var/lib/mysql/whatever_name_you_have_there.err
    and are not in /var/log
    which made me a sad panda

    aheaume wrote:Try this : http://bbs.archlinux.org/viewtopic.php?id=94252.
    Also, consider registering to the arch-dev-public mailing list if you use [testing].
    I am not using [testing] but got this error about libcrypto on several packages...

  • MySQL upgrade breaks Neko (AUR)

    Hi. I wonder if someone can help me with this. I'm trying to build Neko on Arch x64. I have recently reinstalled (it worked a couple of days ago)
    gcc -shared -L../../bin -pthread -lneko -L/var/abs/local/neko/src/neko-1.8.1/src -L/usr/lib -L/usr/lib/mysql -L/usr/local/lib -L/usr/local/lib/mysql -L/opt/local/lib -L/opt/local/lib/mysql -o ../../bin/mysql.ndll -lz -lssl mysql.o /usr/lib/mysql/libmysqlclient_r.a
    /usr/bin/ld: /usr/lib/mysql/libmysqlclient_r.a(libmysql.o): relocation R_X86_64_32 against `.data' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/mysql/libmysqlclient_r.a: could not read symbols: Bad value
    Is this fixable ?
    All I can find when googling is suggestions to reinstall libtool which seems not to work, or references to very old bugs ? Do I need to recompile mysqlclient ?
    Many thanks.

    Okay - thanks

  • Mysql-workbench: symbol lookup error

    Hey all,
    after the last MySQL upgrade, I get following error when starting mysql-workbench:
    /usr/bin/mysql-workbench-bin: symbol lookup error: /usr/lib/mysql-workbench/libmforms.so.0: undefined symbol: _ZN3Gtk14TreeViewColumn14get_first_cellEv
    I'm using
    Mysql  Ver 14.14 Distrib 5.5.12, for Linux (i686) using readline 5.1
    MySQL Workbench CE 5.2.34 7780
    Yes, Arch is mostly up-to-date
    Does anyone have any clue how to fix this?
    wkr,
    fem

    I managed to get it running by updating the python package and all mysql-workbench dependencies (pacman -S python gtkmm libgl libsigc++ lua python-paramiko python-pexpect) .

  • Mysql update

    Hi All,
    I m trying to do bulk update to the mysql DB. When i execute the following insert statement it works fine and all data from hashobj is put in the table.
    st.executeUpdate("INSERT INTO test(id,name,class)VALUES("+(String)new Vector((Vector)hashObj.get(vecKeys.elementAt(0))).elementAt(0)+","+(String)new Vector((Vector)hashObj.get(vecKeys.elementAt(1))).elementAt(0)+","+(String)new Vector((Vector)hashObj.get(vecKeys.elementAt(2))).elementAt(0)+")");[But rather than uploading, i require to update. My query should overwrite the existing records.There is bulk of data in my hashtable and has to be updated to the table. i tried the following but didnt work
    st.executeUpdate("update ignore test set name='"+(String)new Vector((Vector)hashObj.get(vecKeys.elementAt(0))).elementAt(i)+"', class='"+(String)new Vector((Vector)hashObj.get(vecKeys.elementAt(0))).elementAt(i)+"'  ");please help
    Regards

    Anders,
    And on my old DB server, filr user isn't working but root user does.
    I'm confused...
    "Normand Hudon" a écrit dans le message de groupe de discussion :
    Cue%v.7853$[email protected] ...
    Andrew,
    I just finished MySQL upgrade but no user login was working (filr, root or
    vaadmin).
    What can I do ?
    Thanks.
    "aferris" a écrit dans le message de groupe de discussion :
    [email protected]..
    Glad I could help. For my system, I've gone with 25GB /var disks. My
    plan is to keep an eye on each appliance and see how that does over
    time.
    Andrew
    aferris
    aferris's Profile: https://forums.novell.com/member.php?userid=9128
    View this thread: https://forums.novell.com/showthread.php?t=479868

  • Javascript editor in Joomla not working on OS X server (X.4.8)

    Hello! I'm recently begun to retool my school's web presence from static pages to a CMS. We're using Joomla.
    To get started, I installed the MAMP Apache/MySQL/PHP environment on my iMac and started building.
    Happy with the results, I decided to start working on a spare server.
    I got PHP and MySQL upgraded on the server to versions 5.2.0 and 5.0.27, respectively.
    Now, Joomla has the TinyMCE text editor in it. This works great in my MAMP setup. But, when working on OS X server, when I try to, say, switch the editor to HTML mode, the editing window pops open momentarily, then closes. THEN, Firefox asks me if I'd like to download a file. The file turns out to be the HTML that should make the popped-up HTML editor.
    I also installed WordPress. WordPress runs great. However, like in Joomla, when I use the editor, Firefox doesn't open the window as expected, but prompts me to download an HTML file.
    I'm using the very same browsers that I successfully use in my MAMP setup. So I can't believe it's a browser setting.
    Is there something in OS X server that needs to be tweaked? Hopefully someone out there can make some sense of how I'm explaining this. It's driving me crazy.
    Many thanks for even wild guesses!
    Jesse

    No need for wild guesses.
    If a page/file is served as you would expect it from one server, but results in a "download request" on another server, then it's most likely a MIME Type issue.
    Don't know what Joomla tries to load, but if you compare MIME types on both your servers you should find the problem.

  • PosGreSQl problem with driver

    Hi all!
    I'm trying to change the property datestyle of my db in order to get the timestamp fields in the european format dd/mm/yyyy . The problem is that the jdbc driver gets me this error
    The JDBC driver requires DateStyle to begin with ISO for correct operation.
    Is it possible to change this property?
    Thanks in advance

    HI,
    Did you download and tried the latest MYSQL ODBC driver with a 64 bit description?
    Here is the SAP note for you to refer:
    1198522 - MySQL DB connection not recognized on a Windows Server 64 bit computer
    Language:   English      Version:   1      Validity: 31.03.2008 - active 
    Symptom
    You install BusinessObjects Enterprise and MySQL on a computer running Windows Server 64bit. When doing a later install of MySQL or MySQL upgrade however, BO doesn't seem to recognize the new connection through even though the installation is running fine
    Cause
    The DB connection is not viewable from the ODBC but BusinessObjects still functions correctly.
    Resolution
    Under 64bit Windows, there are two ODBC administrators. They are both called "odbcad32". The 32-bit ODBC administrator is located under Windows\SysWoW64 and the 64-bit ODBC Administrator is located under Windows\System32. BusinessObjects will still use the 32-bit connection.
    Only the 64-bit ODBC Administrator displays the MySQL driver shipped with BusinessObjects and the Central Management Server (CMS) data sources.
    For more information, see Microsoft Knowledge Base article 942976.
    Regards,
    Clint
    Edited by: Clint T. Pauyon on Feb 20, 2009 7:36 AM
    Edited by: Clint T. Pauyon on Feb 20, 2009 7:38 AM

  • Reports fail on IDM 8, patch 5

    All of my reports fail after upgrading from 7.1.1.x to 8.0 patch 5, has anyone else experienced this?
    I am running Tomcat app server (upgraded to 6.0) and MySql (upgraded to 5.0), and Java 1.5, all changed in conjunction with the upgrade / patch.
    error message:
    Java.lang.NoClassDefFoundError: javax/activation/DataSource
    Thanks
    Edited by: trailgnome on Feb 20, 2009 3:00 PM

    You need to include the activation.jar in the application.
    [http://java.sun.com/javase/technologies/desktop/javabeans/jaf/downloads/index.html]

  • PHP/MySQL incommunicado since upgrading OS X Server 10.4.2 - 10.4.3

    Back when 10.4 first came out and I foolishly upgraded my server right away, I spent hours trying to reconfigure PHP because Apple had monkeyed with with the configuration (since 10.3) and shipped it such that PHP/MySQL wouldn't speak out of the box. I think the trouble had something to do with the location that PHP looks for MySQL, but low level config of these services isn't really my area of expertise. Eventually I got it fixed, but it was a nightmare trying to figure out what was wrong.
    Sooo....performed the update to 10.4.3 this morning....and now if I try to bring up a php page in a web browser:
    Warning: mysql_pconnect(): Can't connect to MySQL server on '10.0.1.250' (61)...
    And that's as far as it gets. Anyone have any ideas? I would speculate that Apple may have finally addressed the issue that was preventing PHP/MySQL from working out-of-box in 10.4, but, in doing so, my workaround for that problem has now become a problem itself.
    Any advice or help would be of greatly appreciated!

    Make sure mySQL server process is started running.
    I think on some upgrades the setting for automatic start of mySQL
    servcies gets set to NO in /etc/hostconfig file

  • MySQL & PHP issues since upgrade

    Little bit of background: I ran an arch server about two years ago, basically a personal web server (for about a year).  Had apache, mysql and php running nicely on it using the basic configurations with some minor changes.
    Now, present day.  I have recently installed Arch again and once the upgrades were announced, I held off on installing the LAMP applications.  So, Friday I installed them (as oppsed to upgrading), and thought I had them all working fine.  Apache was running, mysql was running (command line access was working well with one exception, more on that later), and php was being parsed.  When I tried to pull data out of a database, i was getting "call to undeclared function mysql_pconnect()."  I googled the error and searched the Arch forums, and everything said to make sure php was compiled with the '--with-mysql' option.  I checked that using phpinfo(), and indeed it was, but it was '--with-mysql=/shared', /usr' (or something similar).  What I ended up doing was removing the arch package and recompiling php myself using '--with-mysql' (no arguments) and it works beautifully.  So, basically, is the arch configuration for php correct?
    Also, issue number two, I have created a non-root user in mysql, but when i try to log in i receive access denied for 'user@localhost' (using password: YES).  Did i miss a setting that won't allow me to log in as anyone but root?
    Thanks in advance. 

    simple, edit your php.ini like so:
    BEFORE:
    1250:;extension=mysql.so
    AFTER
    1250:extension=mysql.so
    no need to recompile php.
    ps: "grep -n mysql.so /etc/php.ini"

Maybe you are looking for

  • More than one apple ID

    I have two apple IDs, how do I delete an old one? If I can't, will it be removed if I delete the old email address?

  • How can I add my iTunes library to a 2nd Mac?

    Hi.  I want to download all my iTunes music and videos onto a Macbook Pro, they already exist on an old MacBook.  When I attempted this the iTunes tells me that my library will removed from my phone.  Why is this and is there a work round? Thanks.

  • Upgrade from 2005 and 2008 R2 to 2012 SP2

    My project is getting ready to upgrade from SQL Server versions 2005 and 2008 R2 to SQL Server 2012. Is there any known issues that we should look out for? For SQL Server 2005, we are only running the Database Engine, Full text search and SQL Server

  • Reg File Upload Object in abap Webdynpro

    Hi Friends, Would like to enquire one doubt in the file upload object in abap webdynpro. By default when we press the browse button, near to the file name there is a button which shows the the file types like: ., *.html, ,gif,.jpeg etc. Is there any

  • Slow file opening thru network

    Hi, I've just bought a MacBook Pro 13 (may 2010) running Snow Leopard 10.6.3. At the office we have a NAS (Network Attached Storage) for file sharing (files with 300Mb). The connection with the server goes normaly and the navigation thru folders is a