MAJOR MySql Problems

Ok, I run a Cobalt Qube 3 server and yesterday I installed all the recent patches and updates from the past several months because I had been neglecting doing that - anyway, somewhere in the middle of installing those patches, the MySql completely stopped working! I now continually get this error:
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
I have searched high and low through the forums to find a solution and nothing seems to directly apply/work - I have already checked to see if mysqld is running and got this:
[root]# ps aux |grep mysql
root 25106 0.0 0.1 1208 420 pts/0 S 09:16 0:00 grep mysql
In addition to all that, this morning I woke up with an email from the server telling me the following:
SUBJECT: Cron <root@emeril> run-parts /etc/cron.daily
MESSAGE: error: mysqld:3 unkown group 'mysql'
WHAT DOES THIS ALL MEAN?!?!?! HELP!!!

kiwiang wrote:
> I have saved the page as an .asp page
>
> I am using Dreamweaver MX, and the WAMP set up.
WAMP is for PHP, not ASP. To run ASP pages, you need to
enable IIS.
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/

Similar Messages

  • Using iMovie 7.1.4 on an iMac w/ Snow Leopard; HD video imported with a Firewire cable transfers fine, but audio arrives with major static; problem persists w/ different cameras

    Using iMovie 7.1.4 on an iMac w/ Snow Leopard; HD video imported with a Firewire cable transfers fine, but audio arrives with major static; problem persists w/ different cameras & Firewire cables; source DV tape has no audfio static.

    I forgot to write down my computer specs:
    iMac 27 Mid 2011
    2.7 GHz Intel Core i5
    4 GB 1333 MHz DDR3
    AMD Radeon HD 6770M 512 MB
    OS X 10.9.2

  • Adobe Captivate 8 projects published to HTML 5 shows major loading problems and stops

    Adobe Captivate 8 projects published to HTML 5 cause major loading problems in most browsers(IE 11, Chrome v. 35.0, Firefox v. 31). Loading… (screen)
    The view stops after a while and only the Loading… (icon) can be seen on the page.
    Is this a known problem with Captivate projects published to html5 and is there a way to fix it? What is wrong?
    Test the html5 version of this project at: http://kurs.dokker.no/captivate/
    and see for yourself what happends.

    I changed the Preferences/Project/Start and End  Preloader % to 25 and published the projects again. The course: http://kurs.dokker.no/captivate/elev/
    stopped like before on one of the first slides, loading… screen like before in IE11.
    In Chrome v. 37.0 the course worked badly, would not run, sound missing and buttons not working.
    In Firefox 31.0 the course worked to a degree even if the program was advising to use another browser for this content.
    In Opera 23.0 sound was missing and else working as bad as IE.
    All this testes is done on a PC using Windows 8 connected på internet via ethernet, download speed: 66.57.
    I would like to use the HTML5-format since it has a cleaner view than swf-files that appear to be jagged, but there is a lot missing before Adobe Captivates html5 publish is where it needs to be. Her are the complete html5 course and here are the swf based course for comparison.

  • Major system problems, hanging up at startup.

    I'm developing some major sytem problems with my G4 Mac. It all seemed to start with a jumping cursor and then a dying mouse. I could not get the Mac to startup with several trys. It wouldn't even start up off of my external drive. I would get the first four icons in the upper right hand corner of the screen and the it would hang. I tried all of the usual fixes- permissions, disk utiliy, Disk Warrior, zapping pram. I finally started unplugging external items and getting back to original Mac- switching the firewire port in the back of my Lacie external drive helped for awhile, but now I'm getting the jumping cursor again and fearing I'll get a hangup again. Any ideas on how I can solve this problem? If not, can you point me somewhere for instructions on how to reinstall the system software? I have already installed a clean system on my external drive. Once I reinstall all of my apps there, and get it running properly, can I move all of that to my internal HD somehow? My original system disks for this computer is Jaguar 10.2 if that helps.
    Thanks for your help,
    Dick Skover

    Dick,
    Some observations and notes.
    Have you tried using a different mouse, or changing
    the port it is plugged into?
    Yes, I tried and am using a inexpensive Logitech optical mouse. The one that came with the computer seemed to get very eratic and then not work at all. I did try plugging into different ports and that didn't make a difference.
    How did you upgrade from Jaguar 10.2.x to
    Panther 10.3.9?
    I upgraded the simplest way, I guess. I had read about more complex ways to do it at the time Panther came out, but also heard you could do a simple upgrade. I don't remember the exact steps I used. Boy, this is way more complex than my original Mac in 1984.
    What size is your Hard Drive, and how much space is
    available? I should say I have quite a few applications.
    My HD is 75 Gig with 17 Gig available.
    Is your installed RAM original or added?
    Yes, it came installed when I purchased it: 1.5 Gig
    In one post you wrote "My original system disks
    for this computer is Jaguar 10.2..."
    I heard something back when Panther came out that the fact I started with 10.2, didn't allow me to do certain things like archive and backup.
    But in another, you wrote "Yes, my original
    Panther disk and then updated everything via
    Internet."
    Please clarify.
    When I decided to install a clean system on my external HD I just used my Panther 10.3 disk- I didn't go all the way back to 10.2
    "Yes, Disk Warrior found some problems, I don't
    know exactly what they were."
    Were the errors corrected? Have you rerun Disk
    Warrior, to see if they are indeed repaired?
    Actually I ran DW today again on the internal HD and it came up with a couple of problems that it said it repaired. Should I keep running it until it doesn't indicate any problems?
    A couple other things you can check.
    Open System Preferences > Accounts > Your Account >
    Startup Items.
    Is there any item in there that you are not familiar
    with, or did not put there yourself?
    Yes I did try that- I had a repair person come in to help me. He did point that out and we deleted items that didn't need to be there. What he suggested did help for a week, but the problem came back. I called him again, but he said the only thing left to do was re-install.
    From the Utilities folder, start Activity
    Monitor.
    Select Active Processes.
    Watch for whatever process is hogging %CPU.
    Yes he ran activity monitor also- there didn't seem to be programs hogging the processor although we deleted those that look familiar.
    I also have a question about the title screems that pop up on start up. In the past I used to have several things being checked as it went through the process, now I get welcome to Macintosh and that's it. I seem to remember indications that Macaroni was running, but no longer see any of that. I do have Macjanitor also and thought that one of those automatically runs at startup?
    I will run pseudo daily, weekly and monthly tasks now. Is this something that Macjanitor does, or should I run the maintenance scripts periodicaly?
    ali b

  • 10.4.9 - Major audio problems with digital audio

    I have a Digital XMPCR radio with Edirol MA-20D Digital speakers
    I now have major audio problems, the audio is garbled and doesn't sound as strong. Kinda like a FM radio in a car that is loosing signal when you are traveling.
    I use this XMPCR for a couple of hours a day and had no problems this morning prior to installing the update.
    I have a XMPCR that was modified for Toslink/Digital connection. I connect the XMPCR to my Mac Pro 2.66 with toslink cables and connect my Edirol MA-20D digital speakers with toslink cables. I use Amoeba's "LineIn" for audio pass through.
    I thought it might me the FTDIUSBSerialDriver so I reinstalled it, did not fix the problem.
    I also have a real bad "buzzing" sound going on in the background. When I quit JXM (the application for changing channels on the XMPCR), the "buzzing" goes away but I have a rapid ticking sound coming out of the speakers until I quit LineIn.
    Anyone else have any problems with their digital audio input/outputs?

    I dont use the digital XMPCR radio, but I use Digital Performer to record audio and MIDI and I use exclusively the Built-In Audio input and Output and everything is working fine after the 10.4.9 Upgrade.

  • Major iPhone Problem

    Hello,
    I'm having a major iPhone problem!!!
    My phone crashed yesterday and wont turn back on or charge since then. It will start up with the apple logo and then the screen goes dark, will only stay on for about 30 secs. It's an original not jailbroken or anything like that. iTunes won't recognize it at all, I tired resetting it, hard resetting it, a different cord, basically everything and NOTHING works!
    Please help! Thank you!

    try doing a hard restart - hold home + power until the phone shuts down... then connect it to your puter.
    you may have too many things running in the background on the phone... i have heard fetch & push can drain your battery like you experienced... i don't use them, i get my mail when i open the application.

  • After Int Install OS10.5.8 on PowerPC G4 having major system problems (created user to verify) CS4 apps go non responsive

    After Int Install OS10.5.8 on PowerPC G4 having major system problems (created user to verify) CS4 apps go non responsive

    Ok no difference, I don't get any drive errors that seem significant or numerous, sometimes I don't get any at all, the disk always verifies and I haven't had to run a repair on it yet. I've gotton one or two drive errors, I'll save them next time I run either DU or DW.... however with permissions, there are a lot and they all fix (except: see below: Last 3: ACL errors are always there) but as I keep having to do force quits and system re boots they keep coming back; posted them below IDK if this will help you to help me, LOL... but figured it couldn't hurt, the ones below are re-occuring I know i've seen them b4. . .  Don't know if this makes a difference but on initial install I had several font conflicts w/system fonts, I renamed suitcases and that error message hasn't come back . . . but do you think this could be a font issue . . . I have like 12,000 fonts of which a couple hundred are ususally always active . . . IDK it doesn't make sense to me it would be, but you never know... just a shot in the dark
    I also saved my last PS crash report and it was like 100 Pages long, I've never seen one that long, I make a pdf of it and post link to my idisk, if its something that you can interpet.
    Verify permissions for “Rayce”
              Reading permissions database.
              Reading the permissions database can take several minutes.
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/DVD.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSettings.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSources.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Movies.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Music.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Photos.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Podcasts.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/TV.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/PrivateFrameworks/BackRow.framework/Versions/A/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "Library/Internet Plug-Ins/JavaPluginCocoa.bundle/Contents/CodeResources", should be -rw-rw-r-- , they are lrw-rw-r-- .
    Permissions differ on "private/var/spool/cups/cache/rss", should be drwxr-xr-x , they are drwxrwxr-x .
    ACL found but not expected on "Applications/Utilities".
    ACL found but not expected on "Applications".
    ACL found but not expected on "Library".
    Permissions verification complete
    Repairing permissions for “Rayce”
              Reading permissions database.
              Reading the permissions database can take several minutes.
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/DVD.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSettings.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/FRSources.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Movies.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Music.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Photos.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/Podcasts.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Front Row.app/Contents/PlugIns/TV.frappliance/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/PrivateFrameworks/BackRow.framework/Versions/A/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "System/Library/CoreServices/Menu Extras/RemoteDesktop.menu/Contents/CodeResources", should be -rw-r--r-- , they are lrw-r--r-- .
    Permissions differ on "Library/Internet Plug-Ins/JavaPluginCocoa.bundle/Contents/CodeResources", should be -rw-rw-r-- , they are lrw-rw-r-- .
    Permissions differ on "private/var/spool/cups/cache/rss", should be drwxr-xr-x , they are drwxrwxr-x .
    ACL found but not expected on "Applications/Utilities".
    ACL found but not expected on "Applications".
    ACL found but not expected on "Library".
    Permissions repair complete

  • MAJOR EXPORT PROBLEMS! PLEASE HELP!

    Hello. I hope everyone had a nice holiday. I'll try to be brief. I'm having a horrible problem with exporting my films.  I work on a PC. To me, that shouldn't matter, but here's what's been happening.  I shoot my films at 23.976 frames on the 5DMII and the 7D.  My film got into a film festival. They asked for a 720p mp4 file. OK, no problem. I went under H.264, I exported an HD File, with 23.976 frame rate and I checked both boxes for Max Render and I set a 2-pass. I exported and when I played the vid back through Windows Media Player, it felt fine.
    BUT, at the festival this past weekend, I was horrified to discover that my film, and no other films, was having a major sound problem. The audio was about half a second ahead of the footage, so they kind of looked like they were speaking correctly, but their dialogue would finish right before their mouths would. Super embarrassing. All I noted when I saw the tech booth was that they were using a mac laptop hooked to the projector, so I assume maybe it was quicktime they were running? Also, I believe they put all of the vids together as one file so it would run together as one block, but still, I believe most of the other films were shot at 23.976 frames as well, so that shouldn't matter.
    I went home, thinking maybe I just wasn't being diligent enough and I needed to really look at the sound. Maybe it was off. But I keep all of the temp tracks, the sound from the dslr, on track 1 and then just mute it. I unmuted and played both tracks, and there's no difference. No echo, no weird delays, they're both perfectly synched up.
    I've been having this problem for a long time but this was the first time that I REALLY could see the problem, probably because it was on such a big screen. Just my opinion, but I've found that most festivals are running MAC software and it seems like the vids I export seem to have an audio problem being played through mac programs. Another instance, briefly. I did a screening for a feature I edited. I exported an HD mp4 and put it on a friends MAC. The sound was off when we pre-screened it. I have a PC Toshiba laptop, I ran the vid through windows media player, and it felt much better, so we screened using my laptop and it went fine. But what does that mean?
    Has anyone else had this problem? It's not just festivals too. I have a subscription with Vimeo, but every short film that I put up there has some kind of an audio drift problem. It's always minor so some people see it and some people don't, but I'm certain the vids are fine on my timeline. Do I need to export using something else? A different setting? As a quicktime vid? That last question seems kooky since any tutorial I've seen is usually wanting h.264, so I just don't know.
    Please let me know if there's anything I can try or if you just have an opinion. Thanks very much.

    im sorry i cant seem to start a new topic PLEASE HEEEEEEEEEEEEEEEEEELLLLLLLLLLPPPPPPPPPPPPP
    all of a sudden about half an hr ago my computer froze & went all spastic. i retsarted & now ALL MY SONGS ARE GONE FROM MY IPOD!!! I HAD 10 000+ SONGS HOW DO I GET THEM BACK!?!?!??
    please tell me theres a way. when i check the ipod itself it says 0 songs 0 videos but strangely my 87 photos are still on there. also when i reconnect it to the computer it says to restore its factory settings but when i go to update/restoe it says i have 10GB left (its a 60Gb video ipod) so i think the songs are still stored there but i cant access them or something please help me!!

  • 3.1 update, major audio problems!

    so i updated to 3.1 today and just noticed some major audio problems:
    1. when I answer a phone call I can't hear anything through the ear piece, but the caller can hear me. i can only hear them when I put them on speaker. same thing with voicemail.
    2. the ringer works when I get a call, but text, voicemail and email chimes/tones aren't audible at all.
    3. the built in speaker no longer works when playing iTunes music, YouTube, or games. i can only hear audio when plugging in headphones.
    all my settings are the same as before the update, but despite adjusting the volume controls/rocker none of the audio settings are working properly. i also reset/restarted the phone (home + sleep buttons) a few times, but no use. what the he'll is going on?
    Message was edited by: d.c.1

    I've got the same thing- from the speakers, no ring tone, games don't have speaker audio, no email or text audio-- except with the earphones. iTunes music plays thru the speakers but not games or afore-mentioned items. l've never had a problem before. also reset and restored- still the same.

  • MAJOR FONT PROBLEM - GREEK FONTS - GREEK SYSTEM

    Dear All
    I own a G4 purchased from a local Apple Authorized reseller for greece Rainbow computers in order to be able to use Greek fonts. Recently upgraded to OSX Version 10.4.3
    However I'm facing major font problems in applications such as Adobe Software i.e CS2
    Greek fonts that actually work are very limited. For example in Illustrator only Myriad Pro and Lucida Grande function properly.
    In Macromedia Freehand although a few more greek fonts work, they either disappear or become scrambled when I attempt to "Convert them to curves"!
    This only applies to OSX Tiger. Panther seemed to be working fine for this, in Freehand.
    I work as a graphic designer and it is very frustrating when I'm only limited to very few greek fonts even on a GREEK SYSTEM!!!
    By the way: I tried all suggested methods on the forum such as: Greek keyboard layouts, verifying permissions, switching to System Greek Language, reinstalling Illustrator etc..
    Is there anything else that i can do?
    Pls help.. !

    I own a G4 purchased from a local Apple Authorized
    reseller for greece Rainbow computers in order to be
    able to use Greek fonts.
    Generally speaking, for problems with Rainbow's stuff you need to consult Rainbow. Apple itself does not produce a localized Greek system or the special add-ons that Rainbow provides to let you use non-Unicode Greek with older apps.
    However I'm facing major font problems in
    applications such as Adobe Software i.e CS2
    Greek fonts that actually work are very limited. For
    example in Illustrator only Myriad Pro and Lucida
    Grande function properly.
    For an app like this you probably need to use Unicode Greek fonts. Those that come with Tiger are Lucida Grande, Helvetica, and Times. If you have MS Office 2004, you can also use Arial and Times New Roman and maybe Verdana from that app. Plus modern Adobe fonts like Myriad or Minion Pro. I suspect that legacy non-Unicode fonts will not work.
    In Macromedia Freehand although a few more greek
    fonts work, they either disappear or become scrambled
    when I attempt to "Convert them to curves"!
    I think Freehand is non-Uncode and probably needs the older fonts.
    For problems with Adobe and Macromedia apps, you might also want to ask in their forums:
    http://www.adobe.com/support/forums/main.html
    http://www.macromedia.com/support/forums/

  • Major Reconnection Problems

    Hey all,
    An editor just emailed me the project file of a rough cut for a feature we're both working on, and I've been having pretty major reconnection problems. Despite the fact that we're working with exactly the same files on two identical drives, when I try to reconnect all the media I get the message:
    +"The file does not have proper content to reconnect to "(clip name)" at time (timecode) in sequence "(sequence name".+
    +Click "OK" to make this item independent and go to the next clip or "Cancel" to skip all clips from this file."+
    When I click "OK" (which I have to do 200 times, as this problem reoccurs over and over with many different clips at many different points in time), it eventually reconnects.
    However, though it appears that the clips have all successfully reconnected, the sync for the entire project is almost completely off. Sometimes it reconnects to the wrong part of the correct audio clip, sometimes it substitutes the incorrect clip altogether.
    Does anyone have any idea how to solve this problem? It's been driving me crazy for weeks.

    Stumbled upon these problems today. Final Cut Pro did not way want to reconnect the media to the capture scratch files. Only thing I did was I moved them to another drive.
    What solved the problem: rename all scratch files by adding the extension '.mov'. Confirm they are now decent quicktime movies.
    You might want to learn the single unix terminal command to do this for the entire batch at once.

  • HT6030 Having major Mail problems since I updated Maverick on my 27" iMac. Delays deleting emails and moving emails to other folders. Anyone else having this issue? If so, any known fixes?

    I have an iMac that around 3 years old. Just installed Mavericks when it first was released. I also have a Time Capsule (2TB) that runs my network to my other three Apple devices: iPad2, iPhone 5s and a new Apple TV. Having major Mail issues here. Everything is very delayed and extremely slow. Moving emails to other folders sometimes takes a few minutes and the same goes for deleting emails. Delete them and they don't go into the trash for several minutes. It's getting very frustrating to say the least. Mail also quits very often. Mail also will freeze with the little color ball spinning, therefore I would have to force quit Mail. When the errors occur, it's automatically sent to Apple but there hasn't been an update since 10.9.1 that has fixed it. Apparently, that update was only for gmail issues. Anyone having the same problem? Fixes please?

    I have my entire network and all Apple devices setup as IMAP, not POP. If your settings are setup as a POP account on all devices, emails will not erase when deleted on your other devices. Just something to keep in mind. I'm sure you're aware of this but just wanted to throw it out there. Google IMAP vs POP. However, it seems like your having the same issues as I am. I'm going to swing by an Apple store by me and speak to the genius bar and see if they can come up with something or are aware of this issue. Keep you posted.

  • EJB 3.0 entity beans generation with MySql - problem

    Hi,
    I am using JDev 10.1.3 Production and using the EJB3.0 CMP wizard to generate the code from a MySQL database. No matter what type I specify for my database columns in schema, code generator always generates the properties of type String only. e.g if a column called Age is specified as Integer in schema, the generator generates setters/getters with String type.
    Can somebody please help me.
    Regards
    Vimal

    Hi,
    I'm experiencing same problems, is this a bug or an feature?

  • JAVA with MYSQL problem

    i am using jdk1.6.0_02,apache tomcat 5.5.23 ,mysql integrated with redhat linux EE 4 and.mysql connector java 5.0.7.bin.jar.
    look at the the following java program
    import java.sql.*;
    public class TestMysql
    public static void main(String args[])
    try
    String driver = "com.mysql.jdbc.Driver";
    Class.forName( driver );
    String url = "jdbc:mysql://localhost/test";
    DriverManager.getConnection( url, "root", "mysql" );
    catch( Exception x )
    {      x.printStackTrace();
    i got the following exception
    java.sql.SQLException: Access denied for user 'root'@'localhost.localdomain' (us *** password:
    YES)
    at com.mysql.jdbc.SQLError.createSQLException(java.lang.String, java.lang.Str ***, int)
    (Unknown Source)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket(int) (Unknown Source)
    at com.mysql.jdbc.MysqlIO.checkErrorPacket() (Unknown Source)
    at com.mysql.jdbc.MysqlIO.secureAuth411(com.mysql.jdbc.Buffer, int, java.lang .String,
    java.lang.String, java.lang.String, boolean) (Unknown Source)
    at com.mysql.jdbc.MysqlIO.doHandshake(java.lang.String, java.lang.String, jav a.lang.String)
    (Unknown Source)
    at com.mysql.jdbc.Connection.createNewIO(boolean) (Unknown Source)
    at com.mysql.jdbc.Connection.Connection(java.lang.String, int, java.util.Prop erties,
    java.lang.String, java.lang.String) (Unknown Source)
    at com.mysql.jdbc.NonRegisteringDriver.connect(java.lang.String, java.util.Pr operties)
    (Unknown Source)
    at java.sql.DriverManager.getConnection(java.lang.String, java.util.Propertie s)
    (/usr/lib/libgcj.so.5.0.0)
    at java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, j
    ava.lang.String) (/usr/lib/libgcj.so.5.0.0)
    at Connect.main(java.lang.String[]) (Unknown Source)
    access denied problem. but the user name and password are correct. i can login to mysql by using
    the same username and password.
    but when connecting through java , i can't ? what is the problem?
    can u help me.?
    actually i am working in JSP. and when i got this problem, i created a small java program for testing.
    here i am submitting the java program.

    friend please put your code inside
       // your code goes here  it will more readable and other can solve it better.
    ==================
    and your problem tells that you must set access permission inside
    mySQL server.
    or try with creating new User with password.
    EnJOY.
    Ghanshyam
    Edited by: Ghanshyam on Sep 28, 2007 4:13 PM

  • Apache2 local web server + Perl 5 + mysql problem

    this problem has been bugging me for some months; it's stopping me developing on my new MBP.
    I cannot connect to mysql 5.0.45 database when web sharing w/ Apache2 with either Perl 5.8 & Activeperl 5.10 cgi scripts on Mac OS X Leopard 10.5.2 & 10.5.3
    Although I can connect to the mysql DB when running the Perl scripts from the command line.
    The problem only occurs on my local web server in Mac OS X 10.5.2 & 10.5.3.
    On my old development Mac running 10.3 the code runs fine, as it also does on my remote site.
    server error log: Can't locate DBD/mysql.pm . . .
    I suspect there is a problem somewhere between Apache2, Perl & MySQL.
    Please advise.
    Sarpedon Jones
    Message was edited by: Sarpedon Jones

    I've got the same problem but It sounds like I've gotten farther. I was forced to do an emergency move of some Perl and PHP sites to 10.5.4 when our 10.4 web server refused to authenticate to AD anymore...
    Leopard's Apache/Perl support is terrible. There is not click to add option anymore so you have to manually set up mod_perl. No big deal but the first sign that there isn't reasonable support.
    The bigger issue is that Apple's Perl will not compile some modules.. namely DBD::mysql.
    Normally you'd use "cpan" to install the modules you need. The core module for connecting to a mysql database is DBD.. specifically DBD::mysql
    You should be able to run "cpan" or "cpanp" [cpan plus] to get a cpan interactive prompt. At this point you should be able to compile DBD by issuing either of the following:
    "install DBD::mysql" or
    "install Module DBD::mysql"
    I've tried this on two installs of OS X Server and that module (and others) will not compile on either system. One of my servers had been set up as a Wiki server before but the other had not been running any web services before I started using it as a test bed for my site move. (BTW these sites are unavailable until I can move them).
    There is another bug (noted on mysql's site) with Apple's version of cpan. If you try to add some modules, cpan will report that it needs to install a new, full version of Perl. The recommendation is to not do this, but rather force the install.. "install f DBD::mysql"
    Forcing the install is a questionable idea but it doesn't work anyway.
    I eventually did install perl 5.0.10 on the system in /usr/ and that does allow me to compile the needed Perl mods. However, the global @INC path has the old Perl paths listed so my perl CGIs will not use the new perl install.
    I'm sorry I don't have a solution. Hopefully my troubleshooting will elicit some more feedback.
    steven.

Maybe you are looking for