Coder Social home page Coder Social logo

Comments (11)

HDVinnie avatar HDVinnie commented on August 16, 2024

More info needed. You formatted vps? Installed Ubuntu 20.04 with nothing else. No cpanel or anything. Then ran

git clone https://github.com/poppabear8883/UNIT3D-INSTALLER.git installer
cd installer
sudo ./install.sh

from unit3d-installer.

loudyin1 avatar loudyin1 commented on August 16, 2024

More info needed. You formatted vps? Installed Ubuntu 20.04 with nothing else. No cpanel or anything. Then ran

git clone https://github.com/poppabear8883/UNIT3D-INSTALLER.git installer
cd installer
sudo ./install.sh

no cpanel fresh install on vps Elite 8-32-320 of 20.04 had it working same setup on 18.04, I never got the error but still learning so hope you can help.

from unit3d-installer.

HDVinnie avatar HDVinnie commented on August 16, 2024

Where/when are you getting the error. I can install on a digital ocean droplet using Ubuntu 20.04 just fine.

from unit3d-installer.

loudyin1 avatar loudyin1 commented on August 16, 2024

chmod 600 /root/.my.cnf
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░] (Done!)
mysql -e "DROP USER IF EXISTS XXX"
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░] (Done!)
mysql -e "DROP DATABASE IF EXISTS XXX"
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░] (Done!)
mysql -e "CREATE DATABASE XXX"
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░] (Done!)
mysql -e "CREATE USER 'XXX'@'localhost' IDENTIFIED BY 'pass';"
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░] (Done!)
mysql -e "GRANT ALL PRIVILEGES ON XXX . * TO 'XXX'@'localhost'"
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░] (Done!)
mysql -e "ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'pass'"
[░░░░░░░░░░░░░░░░░░░░░░░░░░░░] (Done!)
mysql -e "DELETE FROM mysql.user WHERE User=''"
[============================] (Done!)

[ERROR] ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

this is what I get logged in as ubuntu or as root still same error. removed username & pass & db name

from unit3d-installer.

HDVinnie avatar HDVinnie commented on August 16, 2024

Are you running the installer with root account?

from unit3d-installer.

loudyin1 avatar loudyin1 commented on August 16, 2024

tried it as root & as sudo ubuntu user

from unit3d-installer.

HDVinnie avatar HDVinnie commented on August 16, 2024

tried it as root & as sudo ubuntu user

When you say this you mean you formatted server each time trying both accounts.

As it seems to be failing for you at DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1') which means there's def a permission issue.

Not using any special characters in your db password?

from unit3d-installer.

loudyin1 avatar loudyin1 commented on August 16, 2024

tried it as root & as sudo ubuntu user

When you say this you mean you formatted server each time trying both accounts. <<Yes it was reset formatted for each

As it seems to be failing for you at DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1') which means there's def a permission issue.

Not using any special characters in your db password? << yes I have will try with them removed
I'll reset the vps & try that.

from unit3d-installer.

HDVinnie avatar HDVinnie commented on August 16, 2024

Yes make sure you reset the VPS to fresh and then run installer as root....then dont use special characters. Installer has an issue with them.

from unit3d-installer.

loudyin1 avatar loudyin1 commented on August 16, 2024

special characters in your db password was the issue 😂😂😂
Cheers bud 👍👍

from unit3d-installer.

HDVinnie avatar HDVinnie commented on August 16, 2024

No problem

from unit3d-installer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.