I want my Python code to connect to my SQL server. Everything I find on Google is for Python 3.2 or older. Is there any possibility that I can connect to a MySQL server without installing anything? And if not, is there something compatible with Python 3.4?
            Asked
            
        
        
            Active
            
        
            Viewed 303 times
        
    -4
            
            
        - 
                    Have you tried the code geared towards 3.2 with 3.4? It will probably work fine. – dano Aug 03 '14 at 17:43
 - 
                    @Wooble I don't like to be a douche but if that are the rules then I'll try to follow them – Anton Aug 03 '14 at 17:49
 - 
                    There is no way to connect to MySQL in any version of Python without installing anything. – Daniel Roseman Aug 03 '14 at 17:54
 - 
                    @dano I just tried oursql and it didn't worked – Anton Aug 03 '14 at 18:19
 
1 Answers
0
            You can use mysql connector python or you can install it from pip from pypi
See the reference here
        Community
        
- 1
 - 1
 
        Avinash Babu
        
- 6,171
 - 3
 - 21
 - 26