- - - - -

Access Error


  • Please log in to reply
3 replies to this topic

#1 pandrus

pandrus

    Tiny Orange

  • Members
  • Pip
  • 5 posts

Posted 07 November 2010 - 09:00 AM

Godaddy websites hacked.  Moving here.  Happen to have a mysql backup but it is 80mb.  So uploaded bigdump.php to my aso share.  The script looks like it has access to db, but when I try to run it, I get this error:

Forbidden

You don't have permission to access /dump/bigdump.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.16 (Unix) mod_ssl/2.2.16 OpenSSL/0.9.7a mod_bwlimited/1.4 mod_fastcgi/2.4.6 Phusion_Passenger/2.2.5 Server at xxxxxxxxxxxxx.com Port 80


dump and all contents are 755

any ideas?

thanks

#2 jednorozec

jednorozec

    Eclectical Engineer

  • Volunteer Moderators
  • PipPipPipPipPipPip
  • 1,122 posts

Posted 07 November 2010 - 12:10 PM

Submit a ticket to get SSH enabled on your account. Then upload the database backup and import it by running the command:
mysql database name < backup file name
Join ASO and use a coupon to Save $5 or Save 15%

#3 -ASO- Frank

-ASO- Frank
  • Guests

Posted 07 November 2010 - 07:08 PM

View Postjednorozec, on 07 November 2010 - 12:10 PM, said:

Submit a ticket to get SSH enabled on your account. Then upload the database backup and import it by running the command:
mysql database name < backup file name

You'd actually need to specify your username and password to use mysql from command line (assuming you do not have ~/.my.cnf setup)

mysql -uUSERNAME -p DATABASENAME < databasefile.sql


#4 jednorozec

jednorozec

    Eclectical Engineer

  • Volunteer Moderators
  • PipPipPipPipPipPip
  • 1,122 posts

Posted 08 November 2010 - 07:42 AM

Yeah, I do have .my.cnf but I don't remember setting it up. All that's in it is
[client]
password=MyAccountPassword

Join ASO and use a coupon to Save $5 or Save 15%




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users