-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't access database #104
Comments
I'm curious does it function yet? |
I think Nick considers this project to be archived and he may not be monitoring it anymore, but I'll try to help. The obvious question is can you access your database using the user name and password stored in dbconnect.php? |
I didnt know I had a password anymore I haven't been there in so long and
came across that project. I had to see if it was complete
…On Mon., Jan. 27, 2020, 9:23 a.m. Brent Fraser, ***@***.***> wrote:
I think Nick considers this project to be archived and he may not be
monitoring it anymore, but I'll try to help.
The obvious question is can you access your database using the user name
and password stored in dbconnect.php?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#104?email_source=notifications&email_token=AL7BMGGSFYI3JTXALCQ7OWLQ73U7LA5CNFSM4HZA23UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ7VQYY#issuecomment-578771043>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7BMGEFWCNDPMUTEC7KOPTQ73U7LANCNFSM4HZA23UA>
.
|
I'm confused. Does the "gpstracker_user" in your MySQL database have a password? Did you follow the instructions on https://www.websmithing.com/2014/01/20/quick-start-guide-for-gpstracker-3/ ? |
Not that I'm aware of u mean the zip I grabbed I thought it was either
finished or close to it. I think maybe i should bring it back i wasnt aware
of a password that's not cool i can i opened it and well whatever it said
was a good thing but it's one part to the bigger picture. I'm sorry dude
…On Mon., Jan. 27, 2020, 1:28 p.m. Brent Fraser, ***@***.***> wrote:
I'm confused. Does the "gpstracker_user" in your MySQL database have a
password? Did you follow the instructions on
https://www.websmithing.com/2014/01/20/quick-start-guide-for-gpstracker-3/
?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#104?email_source=notifications&email_token=AL7BMGFCJAVMMZH3C2VEXHLQ74RTTA5CNFSM4HZA23UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKARVUQ#issuecomment-578886354>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7BMGC7MM62H6M4LPZMIMLQ74RTTANCNFSM4HZA23UA>
.
|
Yes I followed the instructions but dont recall a password am I getting
someone in trouble here I hope not I just got a zip file that I figured
wasnt complete
…On Mon., Jan. 27, 2020, 9:23 a.m. Brent Fraser, ***@***.***> wrote:
I think Nick considers this project to be archived and he may not be
monitoring it anymore, but I'll try to help.
The obvious question is can you access your database using the user name
and password stored in dbconnect.php?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#104?email_source=notifications&email_token=AL7BMGGSFYI3JTXALCQ7OWLQ73U7LA5CNFSM4HZA23UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ7VQYY#issuecomment-578771043>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7BMGEFWCNDPMUTEC7KOPTQ73U7LANCNFSM4HZA23UA>
.
|
The zip file is fine. There are two parts to GPSTracker: one is the mobile phone app (you can install it from the Play Store). The other is the server code. You install it on your server by unzipping the zip file and configuring it by modifying the dbconnect.php file to point to your server. The Quick Start Guide says you must create a username and password for your MySQL database. Did you do that? |
No I didnt get the second part we so it does work why are u not doing this
or do u have top secret going on lol
…On Mon., Jan. 27, 2020, 2:08 p.m. Brent Fraser, ***@***.***> wrote:
The zip file is fine. There are two parts to GPSTracker: one is the mobile
phone app (you can install it from the Play Store). The other is the server
code. You install it on your server by unzipping the zip file and
configuring it by modifying the dbconnect.php file to point to your server.
The Quick Start Guide says you must create a username and password for
your MySQL database. Did you do that?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#104?email_source=notifications&email_token=AL7BMGBMROMVT3GZZ3HOYITQ74WLVA5CNFSM4HZA23UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKAV3XY#issuecomment-578903519>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7BMGGFJ6HCY75YDSF6YSTQ74WLVANCNFSM4HZA23UA>
.
|
So does it work or is that up to me to figure out the instructions are
there all of it
On Mon., Jan. 27, 2020, 4:50 p.m. Daves not Here man, <
[email protected]> wrote:
… No I didnt get the second part we so it does work why are u not doing this
or do u have top secret going on lol
On Mon., Jan. 27, 2020, 2:08 p.m. Brent Fraser, ***@***.***>
wrote:
> The zip file is fine. There are two parts to GPSTracker: one is the
> mobile phone app (you can install it from the Play Store). The other is the
> server code. You install it on your server by unzipping the zip file and
> configuring it by modifying the dbconnect.php file to point to your server.
>
> The Quick Start Guide says you must create a username and password for
> your MySQL database. Did you do that?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#104?email_source=notifications&email_token=AL7BMGBMROMVT3GZZ3HOYITQ74WLVA5CNFSM4HZA23UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKAV3XY#issuecomment-578903519>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AL7BMGGFJ6HCY75YDSF6YSTQ74WLVANCNFSM4HZA23UA>
> .
>
|
It works fine if you follow the instructions to set up your server. |
Ok thank u very much that's to cool I appreciate all your help
…On Tue., Jan. 28, 2020, 2:55 p.m. Brent Fraser, ***@***.***> wrote:
It works fine if you follow the instructions to set up your server.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#104?email_source=notifications&email_token=AL7BMGDUXK2VUKPXXFQFCMLRACEU5A5CNFSM4HZA23UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKEVSEA#issuecomment-579426576>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AL7BMGEURIEFVGFQYYJN3Y3RACEU5ANCNFSM4HZA23UA>
.
|
Hello, I'm a beginner programmer trying to set up the MySQL database with the php server, but I'm having trouble accessing the database. Whenever I go to http://localhost:8080/gpstracker/php/updatelocation.php
I get this error and I'm not sure how to debug this.
Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'gpstracker_user'@'localhost' (using password: YES) in /opt/lampp/htdocs/gpstracker/php/dbconnect.php:24 Stack trace: #0 /opt/lampp/htdocs/gpstracker/php/dbconnect.php(24): PDO->__construct('mysql:host=loca...', 'gpstracker_user', 'gpstracker') #1 /opt/lampp/htdocs/gpstracker/php/updatelocation.php(2): include('/opt/lampp/htdo...') #2 {main} thrown in /opt/lampp/htdocs/gpstracker/php/dbconnect.php on line 24
The text was updated successfully, but these errors were encountered: