wshealy
Full Member
Posts: 187
Raspberry Pi: Yes
|
Post by wshealy on Jan 29, 2021 10:22:50 GMT -8
The steps in the direction seem to be for creating a new SD Card. I want to add Sky 2 to a previously purchased SDL SD Card that I keep up to date with SDL releases. What do I need to do to pull Sky 2 and get it setup?
|
|
|
Post by SDL on Jan 29, 2021 10:30:47 GMT -8
You should just have to do the following: cd git clone github.com/switchdoclabs/SDL_Pi_SkyWeather2Then set up the database sudo mysql -u root < SkyWeather2.sql password should be set to "password" for the mysql root user if you are installing your own. That should do it! BP
|
|
wshealy
Full Member
Posts: 187
Raspberry Pi: Yes
|
Post by wshealy on Jan 29, 2021 16:17:00 GMT -8
Since it is a SDL SD Card, I assuming the DB password is already set. I am just adding Sky 2 to what is already there. W
|
|
|
Post by SDL on Jan 30, 2021 12:46:14 GMT -8
|
|
wshealy
Full Member
Posts: 187
Raspberry Pi: Yes
|
Post by wshealy on Feb 15, 2021 14:18:12 GMT -8
I was apparently wrong about the DB upgrade ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
|
|
|
Post by SDL on Feb 15, 2021 14:22:59 GMT -8
Show us the exact command that you typed into the command line.
BP
|
|
wshealy
Full Member
Posts: 187
Raspberry Pi: Yes
|
Post by wshealy on Feb 17, 2021 13:13:41 GMT -8
sudo mysql -u root < SkyWeather2.sql
Also cmake ..
bash command not found
|
|
|
Post by SDL on Feb 17, 2021 13:27:03 GMT -8
First of all, the first command should be:
sudo mysql -u root -p < SkyWeather2.sql
Sorry if I gave the original incorrectly to you.
Try that.
Regarding cmake.
Are you trying to install rtl_433?
If you are, and following the directions, install cmake. I looked at the web and found these commands for the pi:
sudo apt-get update && sudo apt-get upgrade sudo apt-get install cmake BP
|
|
wshealy
Full Member
Posts: 187
Raspberry Pi: Yes
|
Post by wshealy on Feb 17, 2021 13:44:47 GMT -8
I guess I assumed because it was a recent version of SDL SD cmake would be there. Thanks
FYI, In case others read this the command is sudo mysql -u root -p < SkyWeather2.sql
|
|
|
Post by SDL on Feb 17, 2021 14:03:20 GMT -8
Ha, you are correct sir!
Surprised about cmake not being installed. What version of the SD Card do you have? We are up to V018 I think.
BP
|
|
wshealy
Full Member
Posts: 187
Raspberry Pi: Yes
|
Post by wshealy on Feb 17, 2021 14:12:16 GMT -8
BP, THANKS, All units reporting. Thanks W
|
|