Clean Slate with MYSQL
Okay, my configuration with MYSQL is completely borked. How do I wipe out MYSQL's configuration, databases, etc, to get a clean slate without reinstalling my entire system?
Try removing /etc/my.conf (if you messed with it at all) and /var/lib/mysql. Then reinstall mysql and that should give you a clean start.
Good luck!
Scott
Similar Messages
-
I am in the process of purchasing a new Mac. My existing Mac is an early 2009 MacBook Pro and contains files dating back prior to OS 9 (maybe even back to OS 6). I wish to start with a clean slate with the new Mac and don’t plan on migrating files from the old computer. However, I would like to bring over my Contacts, Calendar and Mail (Accounts only, no mail history). How would I go about doing that?
Replace any Contacts, Calendar, and Mail folders with those from your old computer. Transfer the folders and also the preference files. These latter are located in the /Home/Library/Preferences/ folder. If your Library folder isn't visible then:
Exposing the /Home/Library/ Folder
Pick one of the following methods:
A. This method will make the folder visible permanently. Open the Terminal application in your Utilities folder and paste the following at the command prompt:
chflags nohidden ~/Library
Press RETURN.
B. Click on the Desktop, press the OPTION (⌥) button, select Library from the Finder's Go menu.
C. Select Go To Folder from the Finder's Go menu. Paste the following in the path field:
~/Library
Press the Go button.
The Mail and Calendar folders are in the /Home/Library/ folder while Contacts is in the /Home/Library/Applications Support/ folder, but it is called AddressBook. -
I am trying to use my new itunes . When i downlaod itunes old user information shows up. i can not access it .
What i am wanting to do is have clean slate showing only my new itunes puchases with out old user downloads.
any help would be great to fix this problemRead through the user tip: https://discussions.apple.com/docs/DOC-6562 while that deals with issues with installing the latest iTunes for Windows, there are also tips that may help clear your issues.
-
The most common reason that I quit Firefox is because It's gotten clogged with audio or other sites, slowing my work down; and my object is to start from scratch again. I see such an option offered, when Firefox starts up again, but the 'reload' function operates too fast, and I usually lose the option. There has to be some way to prevent this from happening . . . or there SHOULD be.
Hello binbingogoABC,
Shopping on BestBuy.com should be easy and fun and not fraught with the kind of trouble that you describe. I regret very much that this has been your experience.
Using the information you provided when you signed up for Best Buy Unboxed I was able to locate your cancelled orders. I have requested more information from my back-office partners. As soon as I have additional details about your situation, I will reply again to this message. In the interim, I'm sorry that I must impose upon your patience.
I'm very grateful that you wrote to us with your concerns.
Sincerely, -
Powerdns with MySQL doesn't work
I recently switched from ubuntu to Arch and I love it. However I have problems with PowerDNS running with MySQL database. When I set pdns.conf to
launch=gmysql
gmysql-host=127.0.0.1
gmysql-user=user
gmysql-password=pass
gmysql-dbname=database_name
and restart pdns i get this error:
Oct 22 22:43:34 Archlinux pdns[3337]: Caught an exception instantiating a backend, cleaning up
Oct 22 22:43:34 Archlinux pdns[3337]: gmysql Connection failed: Unable to connect to database: Lost connection to MySQL server at 'reading initial communication packet', system error: 0
Socket connection doesn't work either.
If someone could help me out of this I would be very happy.
Best regards!
JernejIt works! Thank you! Thank you! Thank you!
I wasted so many hours combating this...
I owe you a beer byte! Thx again! -
Wanted to change my playlists and music, so went to >settings>music>delete data. So now, within the usage menu, the "music" shows "no data". But, when I open the Music app, it still shows the list of music that was supposedly deleted. And the weird thing is, it is only the list. There is no content. No actual music. How do I get rid of this lists and get it to a clean slate???
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from iCloud backup. See:
iOS: Back up and restore your iOS device with iCloud or iTunes
- Restore to factory settings/new iOS device. -
TIP: Clean slate for find/change
Hi,
Sharing a little tip I just thought of. Very straightforward and
obvious, but quite useful, and I haven't noticed it mentioned elsewhere.
If you're doing a lot of find/replace, you'll repeatedly need to remove
all selections and start with a clean slate (nothing in the find/replace
fields, clear all formatting).
It seemed to me for a while that we're missing a "Clear All" button in
the find/replace box.
So the answer is simple: clear everything, all options, etc., and save
it as a find/replace query.
Now whenever you need a clean slate for find/save, just select that query.
It's working nicely for me!
Happy new year,
ArielI was going to stay out of this, but find I can't. Sometimes it seems to me that scripters see everything as being better solved through scripting.
I actually think Ariel's observation about saving a blank query is quite brilliant, and I have to agree that there are times, and plenty of users like me who don't use a KB hortcut to access find change, where users will find having the saved blank query much faster than any other method of clearing the dialog. Both methods have their place, but I find it disingenuous to say that Jongware's scriptlet "solves" the case where you want to keep the old values -- it actually complicates things as you then must remember if you are to run the KB shortcut, or use the menu, to acieve the desired result.
I think it would be far better to say that this, like many things in ID, can be accomplished in more than one way, and that they way you do it may be different at different times, and that the mehod of choice is exactly that, a choice subject to the user's own preference. -
Installing DBI and DBD::mysql in 10.4 Tiger, with MySQL 5.0
After some discussion here http://discussions.apple.com/thread.jspa?threadID=546982&tstart=0
I wanted to document what was required to get Bundle::DBI and DBD::mysql installed.
I started off with the helpful info found on the following two pages, but I had to do more to get it working:
http://www.truerwords.net/articles/osx/installdbdmysql.html
http://www.gyford.com/phil/writing/2004/06/07/installingdbia.php
Note: I am working with mysql-standard-5.0.15-osx10.4-powerpc,
downloaded and configured according to the MySQL site instructions.
If you are using an earlier version of MySQL, then you will need to adjust accordingly. The articles I link to above, may work for you verbatim.
1. Download DBI 1.51 from CPAN:
http://search.cpan.org/~hoymich/DBI-1.45-5.8.4/
2. Unpack the file, eg: tar -xzvf DBI-1.51.tar.gz
3. cd into the directory
4. Type perl Makefile.PL
5. Type make && make test
6. sudo make install (NB: See below !)
7. IMPORTANT: to get DBD to install, you may need to specify the location of your mysql_config file:
perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpasswdused --testhost=localhost --mysqlconfig=/usr/local/mysql/bin/mysqlconfig
If something goes wrong, backup by typing:
make clean
Another note: I granted full priveleges for the "test" user on the "test" database, which is accepting local connections only and will be removed after everything is configured.
# now for DBD
8. Download DBD::mysql from CPAN http://search.cpan.org/~capttofu/DBD-mysql-3.0006
9. unpack the archive & cd into it
10. perl Makefile.PL --testdb=test --testuser=nameused --testpassword=actualpwdused --testhost=localhost
11. make && make test
12. sudo make install
That's what it took, hopefully this will help others who need it, and not offend those who know more about itHi David!
I'm trying to help my incredibly frustrated boyfriend, who's trying to upgrade to Tiger on his 12" PB (1.3 MHz single processor).
He does a lot of web design and development, so he formatted his drive as HFS+, case-sensitive, journaled, and has installed his Adobe apps on a dmg, which works great.
BUT (and he says this is always a problem) installing DBD::mySQL is proving near-impossible! His install is failing 98% of the tests run during maketest. He thinks the problem may actually be occurring when he runs Makefile. Here's the error message he's getting, even after reading your posts:
During Makefile.PL:
Can't exec "mysql_config": No such file or directory at Makefile.PL line 450.
Do you have any idea of a direction to point him in? He's so frustrated he can't even post to the forum - language not suitable for family viewing at this time.
Thanks!
Natalie
Dual 867MHz G4 MDD Mac OS X (10.3.6) -
Stuck in Clean Slate, no other applications or dock available
So to tell all that happened. I was working on the computer and was having a hard time downloading a purchase on Itunes. It kept saying that disk was full etc. I asked to restart my computer (not shut down). When I did this it took forever to start back up as it had the bar across the bottom the screen like it was updating something (not sure what). When I got to the log in user, I logged in as normal.
I then got a pop up that said a program I was using was having a problem and if I like to restart new or fresh (something to that wording). My choices were cancle or ok. I hit ok, thinking that it had to do with itunes.
I then got a grey screen which opened to Clean Slate. It took awhile but I got out of clean slate. Now there is no Doc availble with my applications. Itunes won't open. In the upper right hand corner all that shows are the clean slate app. a bowler hat and something else that refers to windows. There is no date and time and doesn't show battery power icon or wifi.
In the left hand corner is the apple icon, and if I go to Recent items it shows everything I had before the restart. There is no dock at the bottom.
I went to prefrences and tried to set up everything how it was, but nothing will save. It shows internet connectivity but won't open a page (such as gmail) when I am on an internet browser.
I feel like I am in some other start up or something. Did I lose everything. What do I do?The bar across the bottom, or near the bottom, of the screen when booting means the system is booting into Safe Mode.
It would seem your hard drive is Over Filled and you need to free up some space by either moving files to an external drive or just Deleting some, many.
As to your reference of Clean Slate I have no idea what that is. Never saw it on my Mac, did a google search and turned up a lot of thing called Clean Slate but nothing for Mac popped out at me. -
HI there. I am donating my 4 imacs and ibooks to my son's school, but i need to do a clean slate on the hard drives and bring them back to factory settings. How do I do this? Most are updates to 10.4.8....please advise!
Thanks!yes, i have the original software, but they are super old, like 10.1 and 10.2. The computers are all up to date with software updates, so to go back that far would be icky. Here's what I have done on my ibook g4, I went to the user/accounts icon on the system preferences, change the name and the password to my kids teacher's and made sure that my network preferences and imac preferences were cleared out too. Then open your hard drive off the desktop and find the Users folder in it. Open Users and rename the house icon making sure the house icon with all your personal info in it is clear if not start the process of deleting the files thru my trash can, the secured way.
Good luck -
Can you reload iCal and get a clean slate?
Since no one seems to know how to solve the problem of the dissapearing "to do's",(see topic: iCal "TO Do's" have stopped working properly.), is there a way to reload iCal and start over with a clean slate? I tried reloading OS 10.4.8 but iCal picked up all my old calendar entries. I'm hoping that if I can get a clean start maybe this problem might go away.
450 G4 dual Mac OS X (10.4.8)Hi Charles,
Before you destroy all your data, try this:
http://discussions.apple.com/message.jspa?messageID=3597456#3597456
John M -
Hi. My system recently went through a "system recovery" which washed everything away, restoring it to its original settings, etc. I reconnected to Firefox and it is like a clean slate. Is there somewhere I could get my old bookmarks back? Thank you.
Thanks for the info. I went here earlier, and it didn't help. It seems that the Firefox profile I am using is only the one created today when I reconnected with the browser, and no old one seems available. It's history in all the compartments I go to are all today.
-
I need to do a clean install with Lion. How do I do this. I can't find any doc. to tell me the procedure.
Follow the instructions at the link I posted
have a lot of old stuff transferred from Mac to Mac to Mac that is slowing down everything
If that included Power PC apps, read here > Lion upgrade questions and answers: Apple Support Communities -
My MacBookPro has slowed significantly. I have cleaned it with CleanMyMac2 but it did not help. I have cleaned iPhoto and emptied the trash.
Any suggestions are appreciated.
thanks,
jim,Thanks for the help....
stevejobsfan0123 wrote:
First off, uninstall CleanMyMac, it's a scam. http://macpaw.com/support/cleanmymac/knowledgebase/how-to-uninstall-cleanmymac-2
Next, run EtreCheck, which will give us information about your system: http://etresoft.com/etrecheck.
Problem description:
MacBookPro running very slowly. Three minutes to open Safari. Four to open iPhoto.
EtreCheck version: 2.0.9 (96)
Report generated October 31, 2014 at 9:11:03 PM CDT
Hardware Information: ℹ️
MacBook Pro (13-inch, Early 2011) (Verified)
MacBook Pro - model: MacBookPro8,1
1 2.3 GHz Intel Core i5 CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1333 MHz ok
BANK 1/DIMM0
2 GB DDR3 1333 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
Intel HD Graphics 3000 - VRAM: 384 MB
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.10 (14A389) - Uptime: 4:25:31
Disk Information: ℹ️
Hitachi HTS545032B9A302 disk0 : (320.07 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Dummy (disk1) / [Startup]: 318.84 GB (210.08 GB free)
Encrypted AES-XTS Unlocked
Core Storage: disk0s2 319.21 GB Online
MATSHITADVD-R UJ-8A8
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Canon MP620 series
Generic Mass Storage 4.03 GB
S.M.A.R.T. Status: Verified
IPHOTO (disk2s1) /Volumes/IPHOTO : 4.03 GB (3.84 GB free)
Logitech USB Receiver
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist Support
[loaded] com.macpaw.CleanMyMac2.Agent.plist Support
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist Support
[loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist Support
[loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
[loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
User Login Items: ℹ️
Canon IJ Network Scanner Selector2 Application (/Library/Printers/Canon/IJScanner/Utilities/Canon IJ Network Scanner Selector2.app)
Safari ApplicationHidden (/Applications/Safari.app)
Internet Plug-ins: ℹ️
Flip4Mac WMV Plugin: Version: 3.0.0.126 - SDK 10.8 Support
FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
Default Browser: Version: 600 - SDK 10.10
AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
QuickTime Plugin: Version: 7.7.3
Silverlight: Version: 5.1.30514.0 - SDK 10.6 Support
Mathematica: Version: 9.0.1.4092152 Support
JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
Safari Extensions: ℹ️
Omnibar
3rd Party Preference Panes: ℹ️
Flash Player Support
Flip4Mac WMV Support
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: ON
Auto backup: YES
Volumes being backed up:
Dummy: Disk size: 318.84 GB Disk used: 108.76 GB
Destinations:
BackUp [Local]
Total size: 319.94 GB
Total number of backups: 3
Oldest backup: 2014-09-11 14:40:53 +0000
Last backup: 2014-10-15 17:08:07 +0000
Size of backup disk: Too small
Backup size 319.94 GB < (Disk used 108.76 GB X 3)
Top Processes by CPU: ℹ️
8% mds
6% WindowServer
0% AppleSpell
0% ps
0% askpermissiond
Top Processes by Memory: ℹ️
588 MB com.apple.WebKit.WebContent
133 MB Safari
69 MB Preview
56 MB CalendarAgent
56 MB WindowServer
Virtual Memory Information: ℹ️
73 MB Free RAM
1.28 GB Active RAM
1.21 GB Inactive RAM
1.03 GB Wired RAM
2.63 GB Page-ins
26 MB Page-outs -
OBIEE 11G with MySql Issue Hierarchy is not working..
Hi,
i am using the OBIEE 11G with MySQL DB. i have sucessfully created the RPD. i created the Hierarchy in the RPD. this is the scerario i have created.
i have only one data column created_at. by using this column i create 3 more logical logical columns, which are Year,Month Name,Week and created Hierarchy by taking the these columns only.
when i am viewing the result by taking the hierarchy it throwing the error systax error"ou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version".
but we selecting the year column it successfully nagvigating to the month level data but when selecting the Hierarchy directly it is unable to navigate from year to month.
please provide me the solution for this as soon as possbile i have an urgent requirement on this.
Thanks,
Yogi.Hi,
Thanks for you post..
My Requriement is that we no need to create new columns we need to necessary columns in BMM layer only and we need to use them in Hierarchy.
Thanks,
Yogi.
Maybe you are looking for
-
How to change password for a user in WLS 7.0 embedded ldap in code?
I asked the similar question before but don't have an answer yet. I need to change password for a user in my Java code. Any help will be appreciated. Here is my stack trace: c:\Test>java -classpath . testEmbeddedLdap attribute: uid attribute: descrip
-
New hard drive and photoshop license problem
I have a Dell Inspiron 6000 with a 1.5 Ghz Pentium processor, 2 GB of RAM, and Win Xp/Pro SP3. The hard drive in this computer failed, and it has been replaced. I used an image backup from Acronis True Image 10 to "restore" the new disk. Now, when I
-
Invoice Due Date is past due but not being selected for payment
We have 12.1.3. An invoice has a due date of 7/19 in our system. We have run payments several times but it is not being selected. terms are net 30, terms date was 6/19, GL date is 6/28. The invoice has been validated and accounted. Is there something
-
My airport utility no longer works, but I have just changed my router. Is there something I need to do ? The orange light shows up on my airport, rather than the green one it should have. Please help !!!
-
Creation of account # in chart of accounts
Hi ppl, when i was trying to assign an account # to the GL clearing differences account .... Initially its giving a message " Account ####### not created in chart of accounts XXXX" and when i press the enter one more time its accepting and i could sa