Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th September 2011, 02:32
Wickdaddy Wickdaddy is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Default filezilla + phpmyadmin 530 login incorrect

I don't know if you offer any support on the subject, but I thought I'd give it a try.

I'm trying to connect filezilla and phpmyadmin, so I can create .php files offline (I got an online account, but not always internet).

I got localhost/phpmyadmin to load just fine. I can get into my database. I even created a new account to try to use giving it all admin privileges. None of this seems to be the problem.

I downloaded the filezilla client. I went to edit the fields, but it won't connect.

Host: user@localhost and localhost
User: my actual myphpadmin login
Pass: ******* (same as login pass)
Port: 21 or leave it blank. I don't think this matters for localhost. Not sure to be exact though.

Command: USER **
Response: 331 Please specify the password.
Command: PASS **
Response: 530 Login incorrect.
Error: Critical error
Error: Could not connect to server

I know for a fact that the username and password are correct. I've done this with my main account and the created one.

Any help would be appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 4th September 2011, 12:50
mentes mentes is offline
Senior Member
 
Join Date: Aug 2011
Location: Spain
Posts: 132
Thanks: 4
Thanked 15 Times in 13 Posts
Default

I'm not sure what is your problem.

phpMyAdmin is a web interface for manage MySQL databases.

FileZilla is a FTP client. You can't connect to phpMyAdmin/MySQL with FileZilla
Reply With Quote
  #3  
Old 5th September 2011, 00:04
Wickdaddy Wickdaddy is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Default

You can't use a FTP to connect to a database?

I'm trying to figure out a way how to build a website from scratch to understand it better. I've been writing code for a couple of years (nothing special), but now I want to figure it out for experience.

I thought an FTP was a place to put .php files that work with the database. The person loads a web page and the file is found in the FTP and then it goes to the database to retrieve the information. Am I wrong in thinking this?

What's the best route to take in trying to do this?

My goal is to be able to write .php files offline as I would with .html + .css files, but I'm not sure how you can do this with .php files.

edit - I already have an online place to do this, but I don't always have a way to access the internet.

Last edited by Wickdaddy; 5th September 2011 at 00:08.
Reply With Quote
  #4  
Old 5th September 2011, 03:21
mentes mentes is offline
Senior Member
 
Join Date: Aug 2011
Location: Spain
Posts: 132
Thanks: 4
Thanked 15 Times in 13 Posts
Default

You are trying to run before walk. Forget databases, this is a next step.

You don't need internet for learn php. If you use MS Windows you can install a local server, one can be http://www.easyphp.org/

Then learn how works a remote server, how to upload files through FTP, and at end how to create databases, upload and connect them.

You can start learn php here http://www.php.net/manual/en/tutorial.php
Reply With Quote
The Following User Says Thank You to mentes For This Useful Post:
Wickdaddy (10th September 2011)
  #5  
Old 10th September 2011, 22:47
Wickdaddy Wickdaddy is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Do you have a tutorial showing how to install something like this for linux?

I don't need to learn php for the most part. I need to learn how to set up an offline place to work with php and it's confusing me. I have an online location, but with limited internet it's hard to do it online.
Reply With Quote
  #6  
Old 10th September 2011, 22:59
mentes mentes is offline
Senior Member
 
Join Date: Aug 2011
Location: Spain
Posts: 132
Thanks: 4
Thanked 15 Times in 13 Posts
Default

Quote:
Originally Posted by Wickdaddy View Post
Do you have a tutorial showing how to install something like this for linux?
Which linux?

For Fedora 15: http://www.howtoforge.com/installing...fedora-15-lamp

For CentOS 6: http://www.howtoforge.com/installing...entos-6.0-lamp

There are a lot here http://www.howtoforge.com/howtos/web-server

Quote:
Originally Posted by Wickdaddy View Post
I don't need to learn php for the most part. I need to learn how to set up an offline place to work with php and it's confusing me. I have an online location, but with limited internet it's hard to do it online.
Reply With Quote
The Following User Says Thank You to mentes For This Useful Post:
Wickdaddy (10th September 2011)
  #7  
Old 10th September 2011, 23:10
Wickdaddy Wickdaddy is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mentes View Post
I'm using ubuntu 11.04 and I'm new to it so I'm not exactly sure. thanks for the reply.

I did find out what was wrong with my localhost for the password. I needed to use my actual local host ubuntu login rather than myphpadmin user name which isn't on local host I don't think.
Reply With Quote
  #8  
Old 10th September 2011, 23:24
mentes mentes is offline
Senior Member
 
Join Date: Aug 2011
Location: Spain
Posts: 132
Thanks: 4
Thanked 15 Times in 13 Posts
Default

Quote:
Originally Posted by Wickdaddy View Post
I'm using ubuntu 11.04 and I'm new to it so I'm not exactly sure. thanks for the reply.
http://www.howtoforge.com/installing...ntu-11.04-lamp

Quote:
Originally Posted by Wickdaddy View Post
I did find out what was wrong with my localhost for the password. I needed to use my actual local host ubuntu login rather than myphpadmin user name which isn't on local host I don't think.
Reply With Quote
  #9  
Old 10th September 2011, 23:30
Wickdaddy Wickdaddy is offline
Junior Member
 
Join Date: Sep 2011
Posts: 5
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mentes View Post
Whenever I was trying to login to my ftp I would use my phpmyadmin login + local host. It wouldn't connect saying password was wrong. I think it was conflicting with the fact that it may be on my local host, but I needed to login in with my computers username and password (which worked) rather than my phpmyadmin login. It was a mistake I was making with that. I'm trying to learn so much in a small amount of time, but I'm ready to learn and fail.

It's all so much to take in because I want to set up a local website through my localhost and I want to be able to make .php files. I will play around with this. thank you though I appreciate it.

Do I need to completely re-install ubuntu to get a fresh set-up?

127.0.0.1 says "it works"
localhost/phpmyadmin is MySQL

This is wrong? I need to re-do everything so I can create php files?

Last edited by Wickdaddy; 10th September 2011 at 23:38.
Reply With Quote
  #10  
Old 11th September 2011, 11:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

The LAMP tutorial should be fine for your purposes. You can now use a tool like WinSCP to upload your PHP files to the /var/www directory.

Does phpMyAdmin work now? You must use MySQL usernames (like the MySQL user "root") and passwords to log in.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fail2ban configuration Captain Installation/Configuration 2 28th June 2011 20:48
F11 courier-imap fails. Nachogrande General 6 1st November 2010 18:55
Help needed to set up vsftpd with mysql pam - 530 Login Incorrect phall472 Installation/Configuration 2 6th January 2010 16:49
squirrelmail and postfix witoszek General 12 1st December 2009 19:07
Postfix can't received email from exterior astra2000 Server Operation 5 18th October 2009 00:26


All times are GMT +2. The time now is 00:46.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.