Welcome Guest, Not a member yet? Register   Sign In
Cocoa MySQL
#1

[eluser]Jesse2303[/eluser]
Hi CIDudes

I've got a question about cocoa mysql.
I've put it in my app folder and run it then he ask me login info, but where i need to make the database ?

And do you know a good localhost webserver like XAMPP but something better ?

Thanks
#2

[eluser]Chris Newton[/eluser]
(I'm assuming you're using OSX)

I'd suggest setting up MAMP Pro (for multiple sites,) it's USD 67.17, but worth it if you're really going to be doing a lot of development on multiple sites at the same time. Using MAMP, you can then click "webstart" and get instant access to PHPMyAdmin to get your database set up on localhost, or other local domain.

http://www.mamp.info/en/index.php

I use MAMP Pro, and DynDNS to do local serving & exterior testing of my sites, as well as allowing clients & other developers testing access to the site's in progress.
#3

[eluser]Crimp[/eluser]
Your default login info is:

username: root
password: root

You start MAMP first and connect with CocoaMySQL to localhost with the above u/p info.

You also need to put this into the Socket field:

/Applications/MAMP/tmp/mysql/mysql.sock

The default port is 8889.

Once connected you make your databases and tables and so on.
#4

[eluser]Jesse2303[/eluser]
Both thanks Smile

But I can't use cocoa, he said every time:

Unable to connect to host localhost.
Be sure that the address is correct and that you have the necessary privileges.

Thanks
#5

[eluser]Chris Newton[/eluser]
Do you have a MySQL server running? If not, then it won't be able to connect... Do you have PHPMyAdmin set up? Can you connect to that?
#6

[eluser]Jesse2303[/eluser]
[quote author="mahuti" date="1215812640"]Do you have a MySQL server running? If not, then it won't be able to connect... Do you have PHPMyAdmin set up? Can you connect to that?[/quote]

Yes, I can
MySQL Server is on and I can come in the PHPMyAdmin




Theme © iAndrew 2016 - Forum software by © MyBB