How to install MySQL 5 and remove default install

Hi all,
I have some problems to make MySQL 5 works fine on Mac OS X server.
I have installed the package (http://dev.mysql.com/downloads/mysql/5.0.html) but a instance of the old mysql still running.
Can someone explain me how to remove the default install and make the new one works?
PowerBook G4   Mac OS X (10.4.3)   Mac OS X Server

"pwd in directory /usr/local/mysql return /usr/local/mysql"
I didn't really address this in my previous post, but this could be a problem. This seems to indicate that there is an actual directory named mysql in /usr/local. That shouldn't be the case. If it's empty, you should remove it and replace it with a symbolic link to /usr/local/mysql-standard-5.0.16-osx10.3-powerpc (assuming that's the version you have installed).
To create this link, cd to /usr/local and enter:
ln -s /usr/local/mysql-standard-5.0.16-osx10.3-powerpc mysql
Or you may want to run the installer again. I would hope that the installer would not fail without giving you an error, and since creating this link is not necessary for the installation, it probably just ignored it, but the presence of the directory would have prevented it from creating the link, so it could have interfered with the normal operation of the installer.
Normally when you install MySQL it installs into the /usr/local directory, creating a folder with the full name of the version, e.g. "mysql-standard-5.0.16-osx10.3-powerpc" in the case of the current version. It then creates a symbolic link to that directory called "mysql" in the /usr/local directory. That's why, normally, if you cd to /usr/local/mysql and issue pwd it should give you the full path to the current MySQL installation directory.
The beauty of this system is that it leaves your current installation intact, so if you need to back out, because some of your applications are not compatible with the new version, you only need to re-point that symbolic link to point back to the old version.
It also allows you to transfer your data very easily. Even if you forget to extract the data folder from the old version before you installed the new one, your data is still there, safe and sound. (That's why I've been recommending leaving that folder alone until you sort out the problems with the installation of the new version.)

Similar Messages

  • Carriage return in textarea - how do I check for and remove it???

    I have an html form that has a <textarea> element for user input. I work mainly with Java and some JavaScript. Since carriage returns are permitted in a <textarea> element, upon retrieving the value submitted, my Java and/or JavaScript variables contain carriage returns as well, making the values incomplete.
    For Example :
    String dataSubmitted = request.getParameter("formInput");
    <script language="JavaScript">
    var textValue = "<%=dataSubmitted%>";
    ....//do other stuff
    </script>When I view the source of my JSP page, the above statement of code looks like this:
    var textValue = "This is some text that
    I submitted with a carriage return";I'm putting the text submitted through this form into a mysql database, and when I pull up the values I find that it has recorded the carriage return as well. There is an actual symbol representing a carriage return in the db field.
    What I'd like to do is use some Java code to go through each character of the String and find and remove the carriage return, perhaps replacing it with an empty space instead. But how do I check for a carriage return in a String variable?
    Also, is there a way to use JavaScript to alert the user when the carriage return button is pressed when they're in the <textarea>?
    Any input is appreciated,
    Thank You,
    -Love2Java

    What I'd like to do is use some Java code to go through
    each character of the String and find and remove the
    carriage return, perhaps replacing it with an empty
    space instead. But how do I check for a carriage return
    in a String variable?The carriage return is represented by the \r. Generally there is also a newline, the \n. You can use String#replaceAll() to replace occurences of them by a space.
    string = string.replaceAll("\r\n", " ");
    Also, is there a way to use JavaScript to alert the user
    when the carriage return button is pressed when they're
    in the <textarea>?You can capture keys using the 'onkeypress' attribute. The keyCode of a the return key is 13. So simply catch that:<textarea onkeypress="if (event.keyCode == 13) alert('You pressed the return button.'); return false;"></textarea>The return false prohibits the linebreak being inserted. If you remove that, then it will be inserted anyway.

  • How to conncet mysql database and oracle database 11g2 on linux 5.4

    Hi,
    Can anyone help me to connect mysql server database to Oracle
    database on Linux OS?
    I have done all things, but I am getting a problem in installing dg4odbc
    driver on Oracle database. In a simple word, I don't know how to create
    listener between mysql database and Oracle database.
    If anyone knows that please help me in configuring dg4odbc for Oracle. OS
    -Linux 5.4 and refer any doc or link.
    oracle 11g2 11.2.0.1
    i follow the metalink id - 466228.1 ( but cant successed).
    Thanks and regards,
    pritesh ranjan

    hi pl z clear me it is required to install manully the dg4odbc driver for oracle to connect MySQL server database. because in my $ORACLE_HOME/hs/admin/initdg4odbc.ora is present automatically.
    details of the initdg4odbc.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = mysql_odbc
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib/libmyodbc5w.so
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    set LD_LIBRARY_PATH=/usr/lib
    # Environment variables required for the non-Oracle system
    #set HOME=/home/oracle
    ~
    ~
    ~
    "initdg4odbc.ora" 20L, 437C
    details of the listener.ora file
    DG4ODBC =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA=(SID=dg4odbc))
    (HS=OK)
    SID_LIST_ORCL =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = orcl)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = ORCL)
    ADR_BASE_DG4ODBC = /u01/app/oracle
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pritesh11gprim.oracle.com)(PORT = 1521))
    ADR_BASE_ORCL = /u01/app/oracle
    "listener.ora" [readonly] 37L, 779C 35,0-1 85%
    details of tnsname.ora file
    # tnsnames.ora Network Configuration File: /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = ORCL)
    DG4ODBC =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=DG4ODBC))
    (HS=OK)
    MYSQL =
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
    (CONNECT_DATA=(SID=MYSQL))
    (HS=OK)
    when i m going to start the listener it could not be started..
    details of the mysql server database
    [root@pritesh11gprim ~]# mysql -u root -p
    Enter password:
    Welcome to the MySQL monitor. Commands end with ; or \g.
    Your MySQL connection id is 2
    Server version: 5.6.10 MySQL Community Server (GPL)
    Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
    Oracle is a registered trademark of Oracle Corporation and/or its
    affiliates. Other names may be trademarks of their respective
    owners.
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    mysql>
    mysql> show databases;
    | Database |
    | information_schema |
    | demo |
    | mysql |
    | performance_schema |
    | pritesh |
    | test |
    6 rows in set (0.01 sec)
    if any where i m wrong then plz suggest me......
    thanks & regards
    pritesh ranjan

  • How to erase all datas and reset default

    How to erase all datas and factory reset in iMac

    Boot into the Recovery HD (restart holding down Command+r). Launch Disk Utility and erase the drive (all data will be gone forever so make sure you have a reliable copy of any valuable data). Quit out of Disk Utility when formatting is complete and select re-install OS X (you'll need an Internet connection).
    Fuller details here: http://support.apple.com/kb/ph11273

  • I made the mistake of installing windows on my MacBook air and can't open in lion, anyone know how to get lion back and remove windows?

    I recently installed windows 7 onto my MacBook air- big mistake, I cannot work out how to get back to OSX Lion and get rid of windows for good, anybody help?

    Boot Using OPTION key:
    Restart the computer.
    Immediately after the chime press and hold down the "OPTION" key.
    Release the key when the boot manager appears.
    Select the Lion disk icon from which you want to boot.
    Click on the arrow button below the icon.
    Once you return to Lion open Startup Disk preferences and select your Lion volume for the startup disk.

  • How to Closing Adobe account and remove all reference to Adobe Creative Cloud from Computers C Drive

    I currently have two windows computers and i have had Adobe Creative Cloud installed on both of them, I have already removed the creative cloud program from one of them using the  Add/remove program that comes as default with the windows platform, how ever the licence information is still on the C Drive, How can this be removed. I also wish to close my CC account, how is this done?

    Hi There,
    Kindly try CC cleaner tool:
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Thanks,
    Atul Saini

  • How do I search for and remove empty folders?

    I would love any help. I've spent about 6 hours yesterday looking for a solution for this project...
    PROBLEM:
    I'm trying to organize a 6GB file library of sheet music documents.
    After using Gemini to find and delete duplicate files, I'm left with hundreds of empty folders and files spread across the folders in odd locations.
    How do I find and delete all the empty folders?
    My hope is to remove all the empty folders and then manually reorganize the files.
    This will probably take quite a few hours.
    Here is an example of the mess. The folders currently look something like this:
    Music Library 1 > Kids Songs > Easy > Empty Folder
    Music Library 2 > Kids Songs > Easy > "Ode To Joy.mus" and other files are here
    Music Library 3 > Kids Songs > Intermediate > Intermediate songs files are here
    A better / larger question might be - What is the best way to organize this mess?
    Is there a good file manager for organizing these documents? We run a music school and are trying to set it up for multiple teachers to organize their files and sort by a few different tags like: Difficulty, Genre, Teacher Name, Composer name etc.
    Thank you so much for any help!

    I'm afraid the ability to find empty folders is a wee bit complicated, and quite simply is completely broken in Mavericks. Just because a folder appears to be empty, doesn't mean that it is--if it was ever opened it will have an invisible .DS-Store file inside. For instance, in Snow Leopard if I do a search on the Desktop folder for Kind is Folder, plus Number of Items is less than two, I get two folders, both are empty but one I just created and never opened, and the other I created some time ago and later tossed the contents, which means that it has a .DS-Store file. Both show "No Items" in Icon view. If I modify the Number of Items to "equals 0" only the newly created and unopened folder "empty" shows up. If I try the same thing in Mavericks I get no sensible results at all in any set of search parameters.
    The moderator at Houdah Software reports: "Spotlight on Mavericks reports a value of 1 for "Number of Items" (kMDItemFSNodeCount) for all folders." He says he has reported it as a bug. Evidently it is not yet fixed.
    Francine

  • How can I stop sync and remove a computer from my iphone?

    How can I Cancel iphone wifi sync with my computer? and how do I remove my computer (W-VAIO) from my list? I did the settings from iTunes & it still doesn't work, I even hit the 'apply' button..... what do I do? I recently plugged a friend's phone on my laptop and it automatically sync'd everything to her, how do I turn off this feature so I can avoid this?

    I recently upgraded my wife's computer to mountain lion so we could sync it with her iPhone, allowing her to send emails to the groups she manages whether she's at home or on the road.
    Is it really the case that the iPhone is incapable of this?  The mac does it fine and the iPhone goes through the motions but then bails when you hit send, saying it isn't a valid address.
    This really makes no sense.  Isn't this the whole point of iCloud?

  • How do I undo black and white default in photoshop?

    Whenever I place a colored photo into photoshop it automatically is placed as a black and white photo by default.  I don't want this to happen.  How do I fix this?

    You have to be sure the file you are placing it into is rgb mode and not grayscale.
    If you File > Place a color photo into a grayscale document, it will turn grayscale.
    So before you do that, go to Image mode in Photoshop and select RGB.

  • How did my HP8620 come up with a E-mail address ? How can it be reversed and removed

    I don't want a e-mail addreww for my printer how can oit be removed...........
    This question was solved.
    View Solution.

    Hi,
    Printer email address is for ePrint, if you don't want to use ePrint you can go to your HP Connected account and  only allow you to send to its address then no one can send anything to it. You may need it one day.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • HT204266 I purchased an app and found out it cannot be used, how do I get refund and remove that app

    I purchase a 7notes and found out it is Japanese version which I can not use. How can I cancel it?

    You can contact iTunes support and see if they will issue a refund, but they don't have to. The terms of sale is that all sales are final.
    to remove it from your device, hold down on the icon until they all start to wiggle. Then tap on the white X in the red circle to delete it. Single tap the home button to exit that mode.

  • How to remove a hidden text in pdf file with Acrobat Pro 9. How to save pdf file and remove hidden text?

    I
    I made this file in indesign, the highlited empty spaces indicates that their is a hidden text and it pop up when searching for some words in pdf file. so how can I save pdf file to keep only the seen text ???

    Dear lrosenth,
    I went through some codes/suggestions in internet and I found that I need to have cmap file and cid font file for the respective font since pdf doesn't support unicode fonts directly.
    Can you help me to know where can I get cmap file and cid font file for tamil language font Latha(TrueType) microsoft font.
    Regards,
    Safiq

  • HT201081 how to disable family sharing and remove credit card

    I updated all of out Apple mobile devices and set up Family Sharing.  I thought this would be a great idea.  Quickly I was proven wrong.  I liked the idea of linking my wife's account and mine, and the ability to add my kid as a child under my account (with his own itunes account). The ability for each account to be linked was convenient, but my problem, and many others I have seen posting online, is it being necessary to leave the credit card on file.  Second is the premissions setting.  This again is a good theory, but with children and their always wanting new games and other apps, it quickly became inconvenient to have to give permission to download even a FREE app.  So here is what I would like. The option to add the ability to download free apps, and request permission for purchasing apps.  If this in not possible, than the ability to completely disable family sharing, thus allowing me to remove my credit card info from the iTunes system and prevent unwanted purchases.
    If anyone has any suggestions on disabling the family sharing I would greatly appreciate it.

    Direct from the iPhone User Guide.
    “Leave Family Sharing. Go to Settings > iCloud > Family, then tap Leave Family Sharing. If you are the organizer, go to Settings > iCloud > Family, tap your name, then tap Stop Family Sharing. For more information, see support.apple.com/kb/HT201081.”
    Excerpt From: Apple Inc. “iPad User Guide For iOS 8.1.” Apple Inc., 2014. iBooks.
    This material may be protected by copyright.
    Check out this book on the iBooks Store: https://itun.es/us/5A6R2.l
    Edit. Here's the link for more information.
    Leave Family Sharing - Apple Support

  • How do I  resolve, prevent and remove duplicate index key words?

    The problem I'd like to resolve in in my index is: I have
    mutiple 'Getting Started' topics in each module (for example). When
    I open the Index in the application and click 'Getting Started' I
    am presented with 41 selections. Could be more, I stopped counting
    after 41 and refused to scroll. I would have to click on each one
    to find the "Getting Started" topic I was looking for. I know as an
    end user that I would come un-glued if I had to click and close 41+
    topics in my quest for help . Help should be ... well, helpful. If
    I need help the last thing I'm looking for is annoyance at a tool
    that I hoped would be my salvation. As I'm writing this I'm
    beginning to wonder if what I want can be accomplished. What can I
    do to indicate to the user what specific topic any given "Getting
    Started' refers to so they don't find themselves instead in a click
    and close coma? It seems to me that I have a bloated, out of
    control index. Any suggestions on how I might put my index on a
    diet and provide optimal index effectiveness??

    You could try renaming the topics to something like "Module A
    Getting Started", "Module B Getting Started", etc. but I'd also
    suggest that having 40+ topics against a keyword is not the right
    way to do things. I personally wouldn't have 40+ Getting Started
    topics. By all means have an Overview topic at the start of each
    main area of your help and link to other parts of the same book
    (e.g. to the major tasks).
    A better way however may be to have a single Getting Started
    book at (or near to) the top of your TOC which tells the users what
    they can do. Then link to the topics elsewhere in the TOC that
    provide the detail.
    As far as indexing is concerned, we have an unwritten rule
    that you have no more than two index levels and no more than 5-6
    topics per keyword. If you think this is impossible maybe you need
    to look at how you are indexing.

  • How to reopen a closed and removed project.

    Pl reply directly to me: [email protected]
    a) How do I open a closed project & removed from workspace. I tried double clicking on prj .xpdl file, import etc. Nothing helped. There is no project-open option. File-Open cannot open the XPDL file or .project file.

    Hi,
    You can reopen a project that you removed from Studio's Project Navigator by clicking on the sixth icon from the left in the toolbar (it says "Open Project" when you hold your mouse over it).
    Dan

Maybe you are looking for

  • ITunes PLAY/PAUSE Will Not Work After 10.5.4 Install

    I have just installed Leopard 10.5.4 on my iMac G5 and iTunes player will not work. When I select a song, it will show in the player window, but, PLAY/PAUSE button will not function. I have checked iTunes Prefs and see nothing there that is not corre

  • Linked images in a psd and placed in indesign for collect (CC2014)

    hi everyone, With the new version of photoshop its possible to link smart objects into a psd which is great. The main psd housing the smart object is then dropped into indesign cc 2014. Is it possible to collect the graphics used in the indesign file

  • Accordion widget

    Hello! I have a question, why not work accordion widgets and thumbnails when I upload it via FTP to my server? Already contacted my hosting provider asking if they had the solution, I gave my directory permissions and widgets do not work. another thi

  • CS6 and Mac OSX 10.9.2

    With the latest updates/patches for CS6, Is it now compatible with Mac OSX 10.9.2?

  • URL Re-Writing

    Hi Guys, I'm interested in managing urls on incoming requests. For example, if someone clicks on a link that says, www.something.com or www.someone.com, I want them both to direct to the same page. I'm guessing I can do this from the web xml servlet