Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Questions regarding a migrate
Stoked to finally be doing my own hosting, however i’ve run in to a few issues.
I have a droplet with nginx installed. I have a site that I am trying to migrate over (have all the files and database ready to go). I followed the getting started tutorials, including have my SSH setup, with daemon configured.
The issue that I’m having is that when trying to add my zip file of my site to domain/htdocs via ftp (coda) I get a permissions error. Now I read I only have access to my user files. So what is the proper or better way of doing this? Ive looked and can’t find any info.
I’m trying to upload my new database (which i have inserted via ftp to my /home/userfolder) using this command : mysql -u (user) -p DB < newDB
i get this error
ERROR 1045 (28000): Access denied for user ‘user’@'localhost’ (using password: YES)
as you may have guessed all of my passwords do not work
I feel like if I could log back into root access I wouldn’t be having this issue, but I’ve disabled root access as a security precaution. Am I missing something or did I just screw this up? Any help would be greatly appreciated.
Thank you guys keep up the good work!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×