Beginner - setting up MySQL on OS X Server 10.5.4

I would like to know what I need to do so if I run the program "MySQL Administrator" on my OS X 10.5 server or run it from another mac on my network - how I can get it to connect to my OS X 10.5 MySQL server.
I did the normal first steps:
Opened the Server Admin application
Selected the server I wanedt to configure from the list pane on the left
Clicked "Add Service"
Foundd "MySQL" in the list and checked the box
Clicked "Save"
Checked "Allow network connections"
Clicked "Set MySQL Root Password" (and made it the same password as I log into the machine with).
Entered the password twice
Clicked "OK"
Clicked the "Start MySQL" button
I assume if I run MySQL Administrator on the OS X 10.5.4 Server, I can use this info:
Server Hostname: localhost
Username: root
Password [the password I used] above
But if I try that with MySQL administrator, I can't log on.
I did try typing:
$ mysql -u root -p
And I got this:
Welcome to the MySQL Monitor. Commands end with ; or \g
Your mySQL connection id is 14
Server versoin: 5.0.45-log Source Distribution
Thanks

I got things to work. I forgot in MySQL administrator to put:
"Connect using socket" option as /var/mysql/mysql.sock

Similar Messages

  • Switch from MySQL to MS SQL Server, Query not working

    I'm sure there is a simple setting somewhere for this, but cannot seem to find it and really would appreciate some assistance. Have an application which uses JDBC to connect to a MySQL DB to run the following query without an issue:
    SELECT * FROM users
    This returns the desired results. Changed to connect to MS SQL Server 2000 using the JDBC-ODBC bridge and the same query returns no results. The problem, SQL Server wants this query instead:
    SELECT * FROM [users]
    I don't want to have to change queries depending on the DB, as that is supposed to be one of the advantages of JDBC. Is there a setting in MySQL (or the JDBC driver) to have it work correctly if I pass table names in []? Or is there a setting in MS SQL Server (or in the JDBC, or ODBC) to have it accept queries without the []?
    Or is there a different approach that I'm missing which would avoid this whole problem?
    Thanks,
    Matt

    I suspect your database definitions are different. It has nothing to do with your java code.
    The bracket syntax is used to indicate the more standard quoted identifiers in standard SQL.
    Thus you could do this in oracle and in MS SQL Server...
    SELECT * FROM "users"
    I suspect that the above will work for your MS SQL Server database and will not work for your Oracle database. However if you created the table in oracle and specifically used "users" (with the double quotes around the name) when creating the table then it would work.
    Of course if the database definitions are different it means you must use different SQL for each. Just as if the name of the table was 'other' rather than 'users'.

  • Setting up MySQL for Dreamweaver 8

    I set up MySQL on my Macintosh yesterday, along with PHP --
    all went fine yesterday, until I tried to connect Dreamweaver to it
    (today I went back and uninstalled and tried to reinstall, and all goes less well -- can anyone tell me what
    robert:/usr/local/mysql robert$ bin/mysqladmin -u root password 'himmel'
    bin/mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'
    signifies?)
    In any case -- back to the story:
    I go to connect to the DB in Dreamweaver 8, and when I try to set up the DB in the "databases" tab and click on the "database" field I get
    "An unidentified error has occurred"
    and then
    "HTTP Error Code 404 File Not Found....
    [Possible Reasons]: 1) No testing server running on this machine.
    2) The Testing Server specified for this site does not map to the http://127.0.0.1/~robert/Sites/_mmServerScripts/MMHTTPDB.php?Type=MySQL&Connecti onString=host=localhost;uid=dwmx;pwd=mm&Host=localhost&&UserName=dmwx&Password=m m&Timeout=30 URL. Verifiy that the URL prefixs points to the root of the site."
    Any clue? I know little about PHP or Unix, but am trying to learn.

    Great info - thank you, David! I will be trying that this
    afternoon.
    Before I do, however, I need to clarify whether I am doing
    this the "best"
    way in my decision to use MAMP. I was looking for the
    quickest, easiest way
    to get a Testing Server setup so that I could test out
    multiple client
    sites. In your opinion, is my approach the best solution? Do
    I need to
    purchase MAMP Pro?
    Thanks again, much appreciated!
    Derrill
    "David Powers" <[email protected]> wrote in message
    news:gcar60$1ga$[email protected]..
    > Derrill wrote:
    >> Server Model: PHP/MySQL
    >> Access: Local/Network
    >> Testing Server Folder: (Not sure what goes here
    because I am not sure
    >> where my website root folder should reside)
    >
    > Since you have installed MAMP, the server root is
    > /Applications/MAMP/htdocs
    >
    > If you create a subfolder called mysite inside htdocs,
    URL prefix becomes
    >
    http://localhost/mysite/
    >
    > However, by default, MAMP uses a non-default port for
    Apache. If you are
    > using the MAMP ports, you need to change the URL prefix
    to
    >
    http://localhost:8888/mysite.
    >
    > As long as you run only MAMP, it's best to configure
    MAMP to use the
    > Apache and MySQL default ports (80 and 3306). You do
    this in MAMP Pro by
    > selecting Server > General, and clicking the Default
    port button. Since
    > you have got MAMP Pro, you can also create virtual hosts
    for your sites.
    > You do that by clicking the Hosts tab in MAMP Pro. Click
    the plus button
    > at the bottom-left of the panel, give the virtual host a
    new name and
    > specify its location in the fields on the right.
    >
    > Always restart the servers after making any changes.
    >
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "The Essential Guide to Dreamweaver CS3"
    (friends of ED)
    > Author, "PHP Solutions" (friends of ED)
    >
    http://foundationphp.com/

  • Mysql conn with remote server

    Good evening,
    I have my db loaded, phpmyadmin loaded all on my remote server, went in the phpmyadmin and created my table, now I am in dreamwever cs4 and want to conn to my db
    on server tab I put
    ' mysqlXX.webcontrolcenter.com ' (where XX is my server #),
    but i keep getting "an unidenfied error occour"thats all.      
    Any ideas or is there something I am missing, Thx

    ok, but answer this to me, if I used phpmyadmin on my remote site which my host set up, and gave me my server addy for mysql. I went on line and to my phpmyadmin set up my table users. Now in dreamweaver my site is defined, local, testing, and remote. I now make a connection to mysql, click the plus and then mysql connection, dialog box comes up, I put conn name in, host addy (from my hoster), username and pw from when I set up phpmyadmin on the remote server, click test and works, check out the table users and all the info is now in dreamweaver, how did it get that info if not getting from remote? thx

  • How do I set up file sharing in Lion Server to work like file sharing in Lion Client?

    I've just installed Lion Server on my home iMac to enable remote access via VPN to my home network.
    When the iMac was running Lion Client (before the upgrade to server), and when File Sharing was enabled on the iMac; when other Macs on the LAN connected to the iMac via AFP, they were always able to connect to (share) any mounted external volumes (external USB or FireWire drives connected to the iMac). e.g.
    Now that I've upgraded to Lion Server, when other Macs on the LAN connected to the iMac via AFP they are only able to connect to (share) the sharepoints listed in the File Sharing pane of Server.app. e.g.
    Is there any way to set up File Sharing in Lion Server so that it works the same way as it does in Lion Client with respect to mounted external volumes? i.e. they are automatically shared? I know I can add each volume manually to File Sharing in Server.app but this gets tedious.
    Many thanks!

    I normally have a Firewall enabled. I recently had to do an erase and install of Lion, followed by a one-by-one re-install of all of my software. One of the first things I did was to set up all of my System Preferences the way I like them; Turning the Firewall on was one of them. Later I noticed it was off and turned it on again. I had already set up sharing and was surprised to see the problem when I turned it back on.
    As to why do I think it needs to be on. It is another part of my security layer.

  • How do I set up a private enterprise messaging server?

    The iPad and iPhone messaging app seems to require that the messaging server must be in the Apple cloud.  Is there a way to set up a private enterprise messaging server?

    Is there a way to set up a private enterprise messaging server?
    Yes:  http://lync.microsoft.com/en-us/Pages/unified-communications.aspx

  • How to set up a Mac as a server

    We have come to the point where we need a central back up point for all the computers in our household. I was thinking about setting up one computer as a server, which would have maybe an external hard drive set up. Am I on the right path, or would there be other options?

    Depending upon your storage needs, desired backup capacity, desired speed, and budget, another option is Network Area Storage (NAS), a dedicated server attached via an Ethernet cable directly to your wireless network router.
    I recently purchased an iomega/Lenovo 2TB unit to back up a MacBook with 500GB, a MacBook Pro with 500GB, and a 64GB iPad2: http://go.iomega.com/en-us/products/network-storage-desktop/ez-media/?partner=47 60
    The server allows the use of Time Machine for the MacBooks, and has an iOS app for iPads and iPhones. While 'cloud access' to my backup files is one of the available configurations, I have not implemented it.
    Initial Time Machine full-backup time was going to be somewhat long (over 24 hours) for my MacBook using my wireless setup, so I connected my MacBook directly with an Ethernet cable, and cut the required time down to under 8 hours. (The other two devices aren't nearly as full.)
    I've had it installed just about 30 days, so I can't comment on long-term ownership, but it is working well for my modest backup needs.

  • How to set up a JSP local host server?

    I am trying to set up a local host JSP server, do you know any good youtube or tutorials in general that would help me set up a local host JSP server? Or could you post the steps here and your source (if any).
    I am looking for something similar to XAMPP as in this youtube tutorial: http://ca.youtube.com/watch?v=KWRB-maTVyM&feature=rec-fresh However, any help would be greatly appreciated.
    By the way, I am very new to JSP and was wondering, XAMPP includes Apache, is Apache a JSP server?
    -Direction needed.
    Edited by: watwatacrazy on Aug 31, 2008 6:51 AM

    You need a Java web container to run JSP/Servlets. A commonly used one is Apache Tomcat. It is not the same as Apache HTTP Server which can only serve static files.
    You can find Tomcat here: [http://tomcat.apache.org].
    How to install/use it, just check the User Guide: [http://tomcat.apache.org/tomcat-6.0-doc/index.html].

  • How to set up a basic file sharing server for my small architectural business?

    I have no idea if I have posted in the correct area as this is my first forum post within the apple support community!
    I have been using a 21.5" imac running 10.6.8 for the past 5 years to run my small home based architectural design business. I have been using the internal hard drive & backing up the necessary data to a simple usb external hard drive. I am now looking to firstly purchase a new imac 27" retina and purchase new autocad lt 2015 for mac software. I am looking to have another imac (my old mac) running in conjunction with the new mac. I want both macs to be able to access the same data and am slightly unsure what is the best way to achieve this.....As my old mac is currently only running snow leopard and an old version of autocad for mac 2011 it wont run on any more recent OS. Essentially i believe I have 2 main options with this.... (1) I Accept that I have to purchase 2 no. autocad lt 2015 licences @ a cost of £2300. Or option (2), I only run autocad on the new mac as this will be the primary station and the old mac used for primarily for admin & accounts. I have also recently discovered that it is possible to rent autocad licences for £300p/a which may also be another option (3)!
    I previously had a problem where my hard drive failed on my mac & lost all data on the internal hard drive, luckily I had been backing up all data regularly to my external hard drive and now loss occurred! Obviously with any new system I want to ensure that my data is safe!
    I currently utilise about 250GB of data for business operations but this will obviously grow with time.
    In the future I would like to have the option of potentially being able to access the network data remotely via macbook pro whilst abroad although at this stage this really isnt my primary objective. Although I believe I could achieve this through apple remote desktop.
    I suppose I should provide some information with regard to the required speed of the system...I regularly open 50-100 photos at the same time totalling around 250-500MB. I would like the system to be able to handle this fairly easily.
    I have been trawling through forums and to be honest they are totally confusing me. I have also spent time on the phone to the apple business team and have also discussed my objectives with a member of the apple team in store.
    There have been various options advised to me and I really do not know which is the most appropriate route forward.
    1 - Using a mac mini as the file server and linking the 2 mac devices to this and backing up the mac mini to an external hard drive to ensure no loss of data.
    2 - Using a time capsule as a file server and linking the 2 mac devices to this and backing up the TC to an external hard drive to ensure no loss of data.
    3 - Using the new mac hard drive and linking the 2 macs via thunderbolt (old mac does not have thunderbolt and so I guess I would need another new mac?!) and then backing up the data to a time capsule.
    4 - Using a RAID based server and linking the 2 no. macs.
    Sorry to ramble but any advice really would be greatly received!

    Hi sblemings,
    Welcome to the community.
    I think with your scenario you should ask yourself, how complicated do you want the setup to be and how much time would you have to be able to resolve an issue should one occur with this setup.
    All the options that have been advised would work but they come with complexity and therefore time.
    1 - Using a mac mini as the file server and linking the 2 mac devices to this and backing up the mac mini to an external hard drive to ensure no loss of data.
    2 - Using a time capsule as a file server and linking the 2 mac devices to this and backing up the TC to an external hard drive to ensure no loss of data.
    3 - Using the new mac hard drive and linking the 2 macs via thunderbolt (old mac does not have thunderbolt and so I guess I would need another new mac?!) and then backing up the data to a time capsule.
    4 - Using a RAID based server and linking the 2 no. macs.
    Sorry to ramble but any advice really would be greatly received!
    option 1
    Would be a way to achieve what you want, it would centralise your files and you would only need to backup your file server (as long as all the files you wanted backed up were on it). This could be achieved either using the client and sharing various folders or using Server which would give you more options than you would possibly need.
    option 2
    This is exactly like option 1 except that you wouldn't have to administer another mac however you may limit any future growth.
    option 3
    This option I probably wouldn't pick, you could achieve this with firewire and use a firewire to thunderbolt adapter (saves you having to buy a new iMac)
    option 4
    This option would, depending on your RAID level, give you disk redundancy but remember you would still need to back this up, as RAID is NOT a backup solution.
    I would also ask is there a pressing need to keep the old iMac in service and complicating things by having a server / NAS? Could you not just transfer all your information over to this and continue with the one backup? I would say that doing it this was would be the simplest way of achieving what you want from what I can take from your question.
    As for remotely accessing your data, if you have the right hardware the way to achieve this would be to use a VPN and connect back to your data. However a potentially easier way for you ,would be to use a service like logmein or teamviewer to connect back.
    Hope this helps, and by all means any questions please ask.
    Dan
    How to set up a basic file sharing server for my small architectural business?

  • How to find Collation setting for Analysis services in Sql server 2000

    Hi
    Can some please guide me how do I check  Collation setting for Analysis services in Sql server 2000
    i need it to install Analysis servcies on my machine

    Hi SMV123,
    We can find the collation settings for Analysis services in SQL Server Management Studio (SSMS). Connect to the SSAS instance from within SSMS->Right click on the instance and select Properties->An Analysis Server properties page will appear. And then
    on the left hand side is a Language /collation option.
    Besides, here is a link about how to install SQL Server Analysis Services 2000 for your reference.
    How to Install SQL Server 2000 Analysis Servicese
    Regards,
    Charlie Liao
    Charlie Liao
    TechNet Community Support

  • How to set Data Subsetting Parameters in MOBILE SERVER

    Hello.
    How can I set data subsetting parameters in Mobile Server with patch 5.0.2.10.0 NLS.
    From Mobile Server "Control Center" -> "Applications" it's not appears at left screen the following field:
    * Data Subsetting
    * Registry
    * Access
    * Files
    The browser appears this error message:
    "http://120.0.0.1:2000/webtogo/admin/console/apppropinfo?applicationvp=%2FMyApp"
    Have you any idea for this problem?
    Thanks All.

    Thanks Oliver,
    I have to go in control center in "applications tab" then i have the list of application and i edit one of them, on the left clic Data Subsetting it's not appears.
    The following it not appears:
    * Data Subsetting
    * Registry
    * Access
    * Files
    The browser (internet explorer) appears (at buttom on the left browser) this error message:
    "error http://127.0.0.1:2000/webtogo/admin/console/apppropinfo?applicationvp=%2FMyApp missing link".
    Whereas (Oliver's solution) in Mobile Server "Control Center" -> "Users Tabs"
    i have the list of users go and i edit one of them, on the left clic Data Subsetting then clic on the right pan platform and then i see but not parameter are definited.
    Help me please.

  • Need help setting up a netboot/net restore server

    I am looking for a link and or step by step instructions to set up a netboot net restore server in Mac OS X.4 server.
    I am using a G5 1.6SP with Mac OS X.4 server
    My goal is to put OS images on this server so i can quickly restore computers with a clean OS install via network
    I have created the images already and currently use a fire wire drive to boot fromso i can restorethe computers with the images storedon the fire wire drive..the server would allow me to install via network.
    So once again if someone can point me to a resource that provides step by step instructions i would appreciate.

    Tony has pointed you in the proper direction. One interpretation of what he's pointed you to:
    Here's what has worked for me in the past.
    When I do netinstalls, I do the following. Disclaimer - I know this is not the only way, but it works...
    Set up one client exactly as I want it, apply all updates, run fsck, repair permissions, and test it out thoroughly.
    I then boot the client in target mode, and attach it directly to the server with a firewire cable and use the image utility on the server to make an image. Follow the prompts to make it a netboot/netinstall image. From the clients, choose the network install image in StartupDisk (or hold the N key when you boot the client, or hold the option key for the bootmanager). You'll obviously need to enable netboot on the server, and it does rely on DNS to be running correctly on the server, just in case you weren't aware. This is not the only way to go, but it should work.
    Jeff
    Message was edited by: Jeff Kelleher

  • How do I set a breakpoint in a Java Server page (.jsp)?

    I have set up an application for remote debugging and am able to connect to it from JDeveloper. When the code execution comes to breakpoints that I have set in java (.java) files they work and the application stops so I can debug etc.
    This also applies to breakpoints set in java code that is called from Java Server pages.
    However if I set breakpoints directly in a java server page whether it is in html code or in java code (such as scriplets) the execution does not stop and the breakpoints are ignored.
    Why? Is there some extra thing I have to do? I have tried in Project Properties/Run/Debug/Profile/Edit/Launch Settings to choose server as Virtual Machine for instance but that does not change anything.
    Comment. I do not know if this is of interest but I am going to add some java server pages to an application and they are defined in a directory like this:
    . . . src\org\yawlfoundation\yawl\resourcing\jsf\jsp
    but when the tomcat deploys the .war file they end up here:
    . . . apache-tomcat-6.0.18\webapps\resourceService
    As I can find no package declaration in a .jsp file this should not matter but I mention it anyway.
    Edited by: user10477024 on Nov 25, 2008 5:32 AM

    Hi user10477024,
    thanks for explaining your background on what you are trying to do and I do understand the approach you are taking. Unlike user10689900's completely random post.
    I've tried to convey why there is no support for JSP debugging in JDev, but again the main reason is that the current frameworks do not code Java directly into a JSP. The JSP is purely used to position the components on the page aiding visual design and real Java classes in tag libs do the rest.
    So the evolution has been:
    Servlets (Java classes writing HTML logic and intermingling presentation and business logic)
    JSP 1.0 JSP (HTML looking) files where you can add scriptlets enclosed in <% ... %> <- you are here
    JSP 1.1 Introduction of Tags and Tag libraries, tag libraries are true java classes and the JSP controls layout and simpler more elegant design.
    Really JSP 1.1 is all about building reusable components together in tag libraries that can be reused across pages and improving design by not mixing presentation and business logic code together.
    If I had inherited something as you have, my advice (if you can) would be to code up some tag libraries because it would be a good learning experience and would be very helpful for moving to more advanced frameworks like JSF.
    regards,
    Brenden

  • Php mysql html on your server application

    hello
    I can work with example websites
    php mysql html on your server application
    ouy have to install, php mysql apache and phpmyadmin on my bakbookpro
    if your server does not do what I Querro please tell me
    and I instalho manually
    if it does I'll use it qurro
    however pressisamos people who can use that build here
    I do not have a whole life to stay behind the computer
    and if your server can not work rebuild from scratch
    do the work with php and html
    because my client wants the **** form in php

    you mean its got <TEXT LEADING FORMATS blah blah >
    yea, turn html on on the text box that ur sending to php.
    or off, well whatever it is now, do the oposite, lol.

  • How to export result set from mysql query browser to .sql in oracle

    Hi folks:
    I was trying to export result set from MySql query browser to Oracle. I could able to do
    File->Export Result Set-> Excel format...
    What I am trying to get is .sql file so that I can run it as a script in my oracle db. Is there any way we can get .sql file with inserts and delimeters ....?
    Did you guys get my question.?
    Please throw some light on this....
    Could be very appreciable ....
    Thanks
    Sudhir Naidu

    Hi
    Create a sql statement which generates the insert statements.
    Something like this:
    select 'insert into table1 (column1, column2, column3) values (' ||
    column1 || ', ' || column2 || ', ' || column3 || ');' from table 1;
    The || sign is the string concatenation sign in Oracle, replace it the appropriate sign in MySql. Export the result set of this query into a file, and you can run it in a SqlPlus.
    Ott Karesz
    http://www.trendo-kft.hu

Maybe you are looking for

  • A Suggestion for Skype to consider regarding the T...

    Hello, I have a suggestion for Skype. When I look at my "Purchase History" in my Skype account it no longer shows the time my order was placed. Not having this information makes it difficult managing my subscription. I would like to see Skype include

  • PO details

    hye, when i make a po, i must get the header items like - Purchasing orgnization, company code, order currency, purchasing group, Payment terms, to appear Where do i make that as mandatory if not for me21n - then if i select the document type ZNB (sp

  • Is there an adapter for the mini discs to use in the Mac

    I have one of the mini discs that I received with my new Blackberry which will get eaten if i try to use the disc slot on my lap top, does Apple make some type of adapter to be able to read these mini discs?

  • Portal Page refresh

    Hi, I have created portal page links and I and using the hbj:link to place them on the page.  When I click the link, I go to the proper page, but the first and second level navigation do not refresh.  What do I have to do to accomplish that so it ref

  • ITunes freezes when trying to determine gapless playback on Ipod.

    Hi, I have quite a problem and I hope someone can help me out here. Ever since updating to the latest iTunes, I've been experiencing problems with syncing it with my iPod. I manage my files manually. When copying files to my ipod, the files seem to t