[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Secure Copy and MySQL parameters



-----BEGIN PGP SIGNED MESSAGE-----


What's the username on your box?  I'll change the username on vodka to
match and that will solve your problem.


- -- 
Aaron Turner           | Either which way, one half dozen or another. 
aturner@pobox.com      | Check out the Red Hat Linux User's FAQ Online!
www.pobox.com/~aturner | http://www.pobox.com/~aturner/RedHat-FAQ/
All emails from this account are PGP signed.  Lack of a signature is "bad".
PGP Key fingerprint = FB E1 CE ED 57 E4 AB 80  59 6E 60 BF 45 1B 20 E8


On Mon, 8 Feb 1999, Micah Yoder wrote:

> I'm trying to copy a test PHP script from my system to my home directory
> on vodka:
> 
> [micah@eclipse lkb]$ scp -imyoder test.php3
> vodka.linuxkb.org:~/public_html/
> Warning: Identity file myoder does not exist.
> micah@vodka.linuxkb.org's password:
> Permission denied.
> lost connection          
> 
> Anyone know what I'm doing wrong here?  It doesn't seem to like the -l
> username option that ssh accepts.
> 
> And while I'm at it, here's the test.  I need to know some things here -
> username, password, database name for MySQL.
> 
> [micah@eclipse lkb]$ cat test.php3
> <html><body>
> 
> <?
>   $conn = mysql_pconnect("vodka.linuxkb.org", "nobody", "");
>   if (!$conn) {
>     echo "Error connecting!";
>     exit;
>   }
> 
>   $result = mysql_query("select fname from users", $conn);
>   if (!$result) {
>     echo "Problem with the query!";
>     exit;
>   }
> 
>   while ($row = mysql_fetch_array($result)) {
>     echo $row["fname"];
>     echo "<br>";
>   }
> ?>
> 
> </body></html>
> 


-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNr+RNzM3jpXy1kJtAQHbcgP/X+Z2OrVahaZBl4wXjlOOtKYYjklciqtx
dzX6mHs8j7F3P3pYGFX2j0dKZ5+BHVvW4VGeAXHSQhQj7mDdlv6PkUP5N4ys8FVh
13+hALhWDYupmqGWGJbp3k3o93+h7Z3nEnDkAF9Hra8LcO4dzAFk1UaTqy6DjCyN
++Ofj9ELujI=
=ynFU
-----END PGP SIGNATURE-----