Re: Problems connecting to mysql using phpMyAdmin

2010-11-19 Thread Ali A Samii
on the commandline (php mytest.php), to see if you get different results. On Nov 19, 2010, at 01:49, Ali A Samii wrote: Hi: I am assuming, because I'm not sure how to check this) that the mysql server is NOT configured to use the old password algorithm. This is a fresh and clean install

Re: Problems connecting to mysql using phpMyAdmin

2010-11-19 Thread Ali A Samii
), to see if you get different results. On Nov 19, 2010, at 01:49, Ali A Samii wrote: Hi: I am assuming, because I'm not sure how to check this) that the mysql server is NOT configured to use the old password algorithm. This is a fresh and clean install, using the MAMP wiki

Re: Problems connecting to mysql using phpMyAdmin

2010-11-19 Thread Ali A Samii
://localhost/mytest.php). On Nov 19, 2010, at 02:06, Ali A Samii wrote: Would you be able to provide me with the one line to put in the script? On 19 Nov, 2010, at 08:53 , Ryan Schmidt wrote: The docroot should have no effect on your ability to connect to the MySQL server. You can check

Re: Problems connecting to mysql using phpMyAdmin

2010-11-19 Thread Ali A Samii
it from the command line (php mytest.php) and also from a web server (http://localhost/mytest.php). On Nov 19, 2010, at 02:06, Ali A Samii wrote: Would you be able to provide me with the one line to put in the script? On 19 Nov, 2010, at 08:53 , Ryan Schmidt wrote: The docroot

Re: Problems connecting to mysql using phpMyAdmin

2010-11-19 Thread Ali A Samii
, mysqli.default_socket and pdo_mysql.default_socket to /opt/local/var/run/mysql5/mysqld.sock On Nov 19, 2010, at 02:17, Ali A Samii wrote: Well, from the browser, I got the following when I ran the phptest.php ( ! ) Warning: mysql_connect() [function.mysql-connect]: [2002] No such file

Re: Problems connecting to mysql using phpMyAdmin

2010-11-19 Thread Ali A Samii
folks if you need further assistance with this. On Nov 19, 2010, at 03:22, Ali A Samii wrote: OK, as it seems to be par for the course for me, I now am having another issue. I am trying to restore a joomla installation using Akeeba Backup. Should be very straight-forward. It uses

Re: Trying to install MAMP on new machine and having problems

2010-11-18 Thread Ali A Samii
sudo launchctl load -w /Library/LaunchDaemons/org.macports.apache2.plist On 19 Nov, 2010, at 05:16 , Ryan Schmidt wrote: On Nov 18, 2010, at 22:07, Ali A Samii wrote: Hi, don't know if anyone else has had a chance to read this over the past 24 hours since I sent the previous reply

Re: Trying to install MAMP on new machine and having problems

2010-11-18 Thread Ali A Samii
http://pma/ now loads the login page for phpMyAdmin, but it will not accept my username root and the password I set. How do I change the password again? On 19 Nov, 2010, at 05:16 , Ryan Schmidt wrote: On Nov 18, 2010, at 22:07, Ali A Samii wrote: Hi, don't know if anyone else has had

Re: Trying to install MAMP on new machine and having problems

2010-11-18 Thread Ali A Samii
Schmidt wrote: On Nov 18, 2010, at 22:34, Ali A Samii wrote: OK, you were right, I had the wrong copy of the httpd-vhosts.conf file loaded. I reloaded it, and it works. However, apache isn't starting up on machine restart. I ran sudo launchctl load -w /Library/LaunchDaemons

Re: Trying to install MAMP on new machine and having problems

2010-11-18 Thread Ali A Samii
, 2010, at 05:53 , Ryan Schmidt wrote: On Nov 18, 2010, at 22:49, Ali A Samii wrote: http://pma/ now loads the login page for phpMyAdmin, but it will not accept my username root and the password I set. How do I change the password again? It should just be your mysql username and password

Re: Trying to install MAMP on new machine and having problems

2010-11-18 Thread Ali A Samii
I did use the command-line to reset the password using mysqladmin5 -u root -p password new-password. Still can't get in. On 19 Nov, 2010, at 05:53 , Ryan Schmidt wrote: On Nov 18, 2010, at 22:49, Ali A Samii wrote: http://pma/ now loads the login page for phpMyAdmin, but it will not accept

Problems connecting to mysql using phpMyAdmin

2010-11-18 Thread Ali A Samii
I am unable to connect to mysql using phpMyAdmin. I get a #2002 Cannot log in to the MySQL server error. I have restarted mysql, reset the password, and rerun the security configuration all from the command line without any problems. But when I try to connect from phpMyAdmin, I get the #2002

Re: Problems connecting to mysql using phpMyAdmin

2010-11-18 Thread Ali A Samii
Yes, I am able to connect using the command line. On 19 Nov, 2010, at 06:45 , Ryan Schmidt wrote: On Nov 18, 2010, at 23:40, Ali A Samii wrote: I am unable to connect to mysql using phpMyAdmin. I get a #2002 Cannot log in to the MySQL server error. I have restarted mysql, reset

Re: Problems connecting to mysql using phpMyAdmin

2010-11-18 Thread Ali A Samii
Just incase it didn't get through, my answer to your question is yes, I can connect to mysql on the command line using that username and password. On 19 Nov, 2010, at 06:45 , Ryan Schmidt wrote: On Nov 18, 2010, at 23:40, Ali A Samii wrote: I am unable to connect to mysql using phpMyAdmin

Re: Problems connecting to mysql using phpMyAdmin

2010-11-18 Thread Ali A Samii
uses by default) so you should either (ideally) upgrade to the new algorithm or if you must keep the old algorithm, then install php5-mysql with the +mysql5 variant. On Nov 19, 2010, at 01:40, Ali A Samii wrote: Just incase it didn't get through, my answer to your question is yes, I can

Trying to install MAMP on new machine and having problems

2010-11-11 Thread Ali A Samii
Hi: I'm trying to install MacPorts MAMP on a new machine and I'm encountering a problem. I want to have the document root be located on an external drive. I have edited httpd.conf, httpd-vhosts.conf, and /etc/hosts When I restart apache, I get no errors. When I go to http://localhost/ I get

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-29 Thread Ali A Samii
Haneda wrote: On Jul 28, 2010, at 6:46 PM, Ali A Samii wrote: However, I still cannot change the password. I get the following Error: alis-imac:bin ali$ /opt/local/lib/mysql5/bin/mysqladmin -u root password 'golijoon' /opt/local/lib/mysql5/bin/mysqladmin: connect to server at 'localhost

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-29 Thread Ali A Samii
. Any ideas? On 29 Jul, 2010, at 11:45 , Ali A Samii wrote: Hi Scott: Since I couldn't get things to work for me last night (I'm in Paris, France) and I had been up to almost 6 AM to get things to work, I gave up for the night (or I should say the morning) and went to get some sleep

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-29 Thread Ali A Samii
, Ali A Samii wrote: Hi Scott: Since I couldn't get things to work for me last night (I'm in Paris, France) and I had been up to almost 6 AM to get things to work, I gave up for the night (or I should say the morning) and went to get some sleep. Anyway, I just got your email

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-29 Thread Ali A Samii
@ *) On Jul 29, 2010, at 2:45 AM, Ali A Samii wrote: Hi Scott: Since I couldn't get things to work for me last night (I'm in Paris, France) and I had been up to almost 6 AM to get things to work, I gave up for the night (or I should say the morning) and went to get some sleep. Anyway, I just

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-29 Thread Ali A Samii
on the project that has about 24 hours of development work to complete and is due in about 18 hours!!! Thanks On 29 Jul, 2010, at 15:17 , Ali A Samii wrote: Well, I thought everything went smoothly until I imported a Joomla site. Result was a whole long list of errors, so I decided to try

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-29 Thread Ali A Samii
On 29 Jul, 2010, at 18:19 , Jasper Frumau wrote: On Thu, Jul 29, 2010 at 8:15 PM, Ali A Samii sa...@me.com wrote: OK, I solved those errors. I had to move from the development to the production version of php.ini But now I have another problem. I can't load the root level

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-29 Thread Ali A Samii
On 29 Jul, 2010, at 18:35 , Jasper Frumau wrote: On Thu, Jul 29, 2010 at 8:27 PM, Ali A Samii sa...@me.com wrote: On 29 Jul, 2010, at 18:19 , Jasper Frumau wrote: On Thu, Jul 29, 2010 at 8:15 PM, Ali A Samii sa...@me.com wrote: OK, I solved those errors. I had to move from

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-29 Thread Ali A Samii
Schmidt wrote: On Jul 29, 2010, at 11:44, Ali A Samii wrote: What I assume it is supposed to be able to do (and does with the other two virtual hosts I have defined) is that I can type: http://localhost/ /opt/local/www # loads phpmyadmin

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-29 Thread Ali A Samii
On 29 Jul, 2010, at 20:03 , Scott Haneda wrote: On Jul 29, 2010, at 9:44 AM, Ali A Samii wrote: If I set pma to /opt/local/www, that defeats the purpose of the virtualhost. What I assume it is supposed to be able to do (and does with the other two virtual hosts I have defined) is that I

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-29 Thread Ali A Samii
And re #3 below? On 29 Jul, 2010, at 20:40 , Ryan Schmidt wrote: On Jul 29, 2010, at 13:15, Ali A Samii wrote: Couple of small remaining issues left. 1. Connection for controluser as defined in your configuration failed! 2. The additional features for working with linked tables have

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-29 Thread Ali A Samii
, which isn't really ideal. Parent directory permissions do not seem to be inherited. Any solutions there? On 29 Jul, 2010, at 20:48 , Ryan Schmidt wrote: On Jul 29, 2010, at 13:42, Ali A Samii wrote: And re #3 below? On 29 Jul, 2010, at 20:40 , Ryan Schmidt wrote: On Jul 29, 2010, at 13

Re: Setting up Apache (was: Re: Still have MySQL problems that need to get solved soon)

2010-07-29 Thread Ali A Samii
. On 29 Jul, 2010, at 21:06 , Ryan Schmidt wrote: On Jul 29, 2010, at 14:00, Ali A Samii wrote: Any new file I add or create in /opt/local/www or its sub-directories I am forced to create as root user. Then, if I try and browse, I get all sorts of errors. I then have to manually go

Re: Setting up Apache (was: Re: Still have MySQL problems that need to get solved soon)

2010-07-29 Thread Ali A Samii
On 29 Jul, 2010, at 21:27 , Ryan Schmidt wrote: Personally, on my development machine, I like serving most of my stuff out of my Sites directory in my home folder. It's all owned by me, I don't have to go digging through system directories to find it. But it's up to you how you want to

Help needed...suddenly nothing works

2010-07-28 Thread Ali A Samii
this fixed. I am really in a bind here. Thank you. Ali Samii ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: Apache won't start (was: Re: Help needed...suddenly nothing works)

2010-07-28 Thread Ali A Samii
get me connection refused. pointing the browser to 127.0.0.1 times out or gets me a server not found. Thanks On 28 Jul, 2010, at 17:14 , William H. Magill wrote: On Jul 28, 2010, at 10:16 AM, Ryan Schmidt wrote: On Jul 28, 2010, at 09:11, Ali A Samii wrote: I really need some help as I am

Re: Apache won't start (was: Re: Help needed...suddenly nothing works)

2010-07-28 Thread Ali A Samii
, 2010, at 09:11, Ali A Samii wrote: I really need some help as I am in a deadline crunch and all of a sudden, my apache2, mysql php macports install stopped working. When I try to access http://localhost/ it can't find the server. I made no edits to my configuration. I tried everything

Re: Apache won't start (was: Hi, I need some help)

2010-07-28 Thread Ali A Samii
start _www 1516 0.0 0.0 2451584620 ?? S 6:07PM 0:00.00 /opt/local/apache2/bin/httpd -k start But still no mysql. On 28 Jul, 2010, at 17:43 , Ryan Schmidt wrote: Don't forget to Reply All so your reply goes back to the list, not just to me. On Jul 28, 2010, at 09:50, Ali

Re: Apache won't start (was: Hi, I need some help)

2010-07-28 Thread Ali A Samii
/mysql5/mysqld.sock' exists And there I stand! On 28 Jul, 2010, at 18:18 , Ryan Schmidt wrote: On Jul 28, 2010, at 11:13, Ali A Samii wrote: OK, prior to the total reinstall I did, apache was running, as was mysql when I do a ps auxw | grep and query for httpd - no process running now

Re: Apache and MySQL won't start

2010-07-28 Thread Ali A Samii
: On Jul 28, 2010, at 11:34, Ali A Samii wrote: OK, so stopped apache2, sudo port load apache2 This is what echoed back: sudo port load apache2 Error: Target org.macports.load returned: org.macports.apache2: Already loaded Log for apache2 is at: /opt/local/var/macports/logs

Re: Apache and MySQL won't start

2010-07-28 Thread Ali A Samii
] Aborting 100728 19:04:58 [Note] /opt/local/libexec/mysqld: Shutdown complete On 28 Jul, 2010, at 19:03 , Ryan Schmidt wrote: On Jul 28, 2010, at 11:58, Ali A Samii wrote: I issued the following command to install mysqk5 sudo port install mysql5 +server The mysql5 does not have a variant

Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-28 Thread Ali A Samii
really need to get this issue solved as soon as possible, so I hope that I can get it done in theft hour or two. On 28 Jul, 2010, at 19:03 , Ryan Schmidt wrote: On Jul 28, 2010, at 11:58, Ali A Samii wrote: I issued the following command to install mysqk5 sudo port install mysql5 +server

Re: Still have MySQL problems that need to get solved soon (was: Re: Apache and MySQL won't start)

2010-07-28 Thread Ali A Samii
necessary to have working, nothing is really hunky-dory. On 29 Jul, 2010, at 05:30 , Scott Webster wrote: On Wed, Jul 28, 2010 at 6:46 PM, Ali A Samii sa...@me.com wrote: Well, I have restarted the whole thing and I have gotten as far as getting mysql to install and be able to automatically

Help installing php on MacPort

2010-05-21 Thread Ali A Samii
Hi: I've used the tutorial howto on MacPorts.org to install and set up MAMP. (https://trac.macports.org/wiki/howto/MAMP) I have proceeded through the end of the installation of PHP (Step 4), and am now confounded on how to proceed because no matter what I try, when I attempt to load