Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. # apt-get install libmyodbc
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. Package libmyodbc is not available, but is referred to by another package.
  6. This may mean that the package is missing, has been obsoleted, or
  7. is only available from another source
  8.  
  9. E: Package 'libmyodbc' has no installation candidate
  10.  
  11. [MySQL]
  12. Description = ODBC for MySQL
  13. Driver = /usr/lib/x86_64-linux-gnu/odbc/libmyodbc5a.so
  14. Setup = /usr/lib/x86_64-linux-gnu/odbc/libodbcmyS.so
  15. FileUsage = 1
  16.  
  17. [my-connector]
  18. Description = MySQL connection to database
  19. Driver = MySQL
  20. Database = mydb
  21. Server = localhost
  22. User = dbuser
  23. Password = dbpass
  24. Port = 3306
  25. Socket = /var/run/mysqld/mysqld.sock
  26.  
  27. echo "select 1" | isql -v my-connector
  28.  
  29. deb http://com.archive.ubuntu.com/ubuntu/ xenial universe
  30.  
  31. sudo dpkg -i file.deb
  32. sudo apt-get install -f
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement