Re: [PHP] connecting to MySQL from a Mac

2005-07-13 Thread Richard Lynch
On Tue, July 12, 2005 8:17 pm, Bruce Gilbert said:
 Hello,

 I am trying to add a PHP search to my site and the read me file says to:

 2. In the server, create a database in MySQL to hold Sphider data.

 a) at command prompt type (to log into MySQL):
 mysql -u your username -p
 Enter your password when prompted.

 b) in MySQL, type:
 CREATE DATABASE sphider_db;

 trouble is I am on a mac, so there is no command prompt. What are mac
 users supposed to do???

 Of course you can use some other name for database instead of sphider_db.

If you normally use, say, phpMyAdmin to access your MySQL data, you can
click on the SQL button and then just type/paste in that kind of stuff.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] connecting to MySQL from a Mac

2005-07-13 Thread Burhan Khalid

Bruce Gilbert wrote:

Hello,

I am trying to add a PHP search to my site and the read me file says to:

2. In the server, create a database in MySQL to hold Sphider data.

a) at command prompt type (to log into MySQL):
mysql -u your username -p
Enter your password when prompted.

b) in MySQL, type:
CREATE DATABASE sphider_db;

trouble is I am on a mac, so there is no command prompt. What are mac
users supposed to do???


You can access the command prompt (in OS X, this is called the
'Terminal') via:

Applications - Utilities - Terminal

If you are using Tiger, you can use spotlight to quickly jump to
Terminal (apple+spacebar is the hotkey to bring up the spotlight search
box).

Alternately, you can also install any number of MySQL front-ends
available for OS X.

Regards,
Burhan

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] connecting to MySQL from a Mac

2005-07-12 Thread Bruce Gilbert
Hello,

I am trying to add a PHP search to my site and the read me file says to:

2. In the server, create a database in MySQL to hold Sphider data.

a) at command prompt type (to log into MySQL):
mysql -u your username -p
Enter your password when prompted.

b) in MySQL, type:
CREATE DATABASE sphider_db;

trouble is I am on a mac, so there is no command prompt. What are mac
users supposed to do???

Of course you can use some other name for database instead of sphider_db.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] connecting to MySQL from a Mac

2005-07-12 Thread Evert | Rooftop

Bruce Gilbert wrote:


Hello,

I am trying to add a PHP search to my site and the read me file says to:

2. In the server, create a database in MySQL to hold Sphider data.

a) at command prompt type (to log into MySQL):
mysql -u your username -p
Enter your password when prompted.

b) in MySQL, type:
CREATE DATABASE sphider_db;

trouble is I am on a mac, so there is no command prompt. What are mac
users supposed to do???

 


Sure you have a command prompt :) Mac = FreeBSD = Unix (well it's a
little more complicated, but you get the idea)

Try to find 'terminal' in your applications folder in Finder

grt,
Evert

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php