in reply to Re^5: Database connection issue
in thread Database connection issue
Thanks again, it definitely narrowed the issue down some more. The primary issue now is the following error: "Login failed for user 'myinfo' <SQL-28000> at script.pl line 12." "myinfo" in this case is the login name, including my school, for me to get on my laptop.
my $data_source = "dbi:ODBC:AJsql"; my $username = ""; my $password = ""; my $dsn = "dbi:ODBC:Driver={SqlServer};SERVER=CND4290H26;Database=Game +Info; Trusted_Connection=Yes;"; my $dbh = DBI->connect($data_source, $username, $password) or die $DBI::errstr;
I added a bit more and went with the source code. Thing is, I don't have a username or password that are required to access the database. I just open the program and I'm in. Is it instead referring to putting the username and password needed to log onto my computer?
In the spirit of being thorough, I did attempt to put those details into the code (not putting them here for obvious reasons), but the error message is still the Login one.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Database connection issue
by Corion (Patriarch) on Nov 16, 2015 at 15:20 UTC | |
by Azard (Initiate) on Nov 16, 2015 at 15:57 UTC |