I am getting SyntaxError: invalid syntax or TypeError: unsupported operand type(s) for +: 'int' and 'str' . Here portnum is integer and the rest are string or
#!/usr/bin/python
import getpass
import sys
import MySQLdb
import os
os.system('clear')
servname = raw_input("What's your server name? ")
portnum = input("Your instance port number ? ")
usrname = raw_input("What's your user name? ")
print( usrname + " is your username ?")
passphrase = getpass.getpass("Enter password:")
cmdstr="/usr/local/bin/innotop -h " + servname + "-P ", portnum + "-u " + usrname + "-p " + passphrase
print(cmdstr)
os.system("cmdstr")