BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old January 23rd, 2004, 01:16 PM
matteorr matteorr is offline
PEBKAC!
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: central Ok
Posts: 163 matteorr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 5 m 37 sec
Reputation Power: 5
FreeBSD 4.9 and MySQL

What command do I use to install the MySQL database?

I tried a bunch of different ones and got it to kinda work. I ran a php script and it told me that 127.0.0.1 didn't have permission to access the database. Should I uninstall and reinstall, or should I use localhost instead of 127.0.0.1, or did I install the wrong thing, or what? Thanks in advance!

Reply With Quote
  #2  
Old January 23rd, 2004, 10:57 PM
icrf's Avatar
icrf icrf is offline
Perl Monkey
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: May 2003
Location: the far end of town where the Grickle-grass grows
Posts: 1,856 icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level)icrf User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 10 h 28 m 31 sec
Reputation Power: 103
Send a message via AIM to icrf
Type "pkg_info | grep mysql" and see if anything comes up. That will tell you if it's installed or not. If it's not listed, go to /usr/ports/databases and pick out one of the mysql listings to install. It's probably best to just go with the newest one listed unless you have reason otherwise. If you don't have ports installed or don't want to spend the time to compile it youself, I'm sure it's available as a binary package, too. Just a guess: "pkg_add -r mysql"

With it installed, type "mysql" at the prompt. If it lets you in (no password for root on localhost, should be the default), then you're pretty much set. Change passwords, create users, etc etc. If it doesn't let you in, then check mysql docs for how to do user administration. Check with "ps -aux | grep mysql" to make sure the server daemon is running if error messages make it look like it's not.

Last edited by icrf : January 23rd, 2004 at 10:59 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > FreeBSD 4.9 and MySQL


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway